commit | 464145dcc53f4cfd6810cac721a5d6cb9f325c3d | [log] [tgz] |
---|---|---|
author | Jordan Halterman <jordan@opennetworking.org> | Wed Dec 20 11:52:46 2017 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Thu Dec 21 01:32:09 2017 +0000 |
tree | d9c0ab5af06409350f5341d5990e7fcad56cbf7e | |
parent | 222262fc50714a799486fa09c8c5b3dcb6ea7b5e [diff] |
Increase default primitive operation timeout to 15 seconds Change-Id: Ib2662d0af1a7d50fc93c9b9111d78e21f5a2e1aa
diff --git a/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java b/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java index d0aa277..8a440f3 100644 --- a/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java +++ b/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java
@@ -126,15 +126,15 @@ } /** + * Default timeout for primitive operations. + */ + long DEFAULT_OPERATION_TIMEOUT_MILLIS = 15000L; + + /** * Use {@link #DEFAULT_OPERATION_TIMEOUT_MILLIS} instead. */ @Deprecated - long DEFAULT_OPERTATION_TIMEOUT_MILLIS = 5000L; - - /** - * Default timeout for primitive operations. - */ - long DEFAULT_OPERATION_TIMEOUT_MILLIS = 5000L; + long DEFAULT_OPERTATION_TIMEOUT_MILLIS = DEFAULT_OPERATION_TIMEOUT_MILLIS; /** * Returns the name of this primitive.