commit | a1c1353067ae0081014ac6c93329cdc96555ce92 | [log] [tgz] |
---|---|---|
author | Jordan Halterman <jordan@opennetworking.org> | Wed Dec 20 11:52:46 2017 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Wed Dec 20 17:48:38 2017 -0800 |
tree | 9e77f447adf3e9d69a9a77fb3eeaecd4aef9847c | |
parent | a80b546f08ed8bc2226704580cb9fc2f05a833b2 [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.