commit | cca2eae5ebfd42b9cd22c5802ffc50d974f7fec7 | [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 11:34:18 2017 -0800 |
tree | daa6ce85880459314a75ddba7ad04f82e8e45de3 | |
parent | a3679534afb2b8517e7db7b4e88d7d74a2e79d93 [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.