Skip to content

Commit 1f3b96d

Browse files
authored
Merge pull request #97187 from abatishchev/patch-1
Update service-fabric-reliable-services-reliable-collections-guidelines
2 parents add29d3 + 223192d commit 1f3b96d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/service-fabric/service-fabric-reliable-services-reliable-collections-guidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The guidelines are organized as simple recommendations prefixed with the terms *
1616

1717
* Do not modify an object of custom type returned by read operations (for example, `TryPeekAsync` or `TryGetValueAsync`). Reliable Collections, just like Concurrent Collections, return a reference to the objects and not a copy.
1818
* Do deep copy the returned object of a custom type before modifying it. Since structs and built-in types are pass-by-value, you do not need to do a deep copy on them unless they contain reference-typed fields or properties that you intend to modify.
19-
* Do not use `TimeSpan.MaxValue` for time-outs. Time-outs should be used to detect deadlocks.
19+
* Do not use `TimeSpan.MaxValue` for timeouts. Timeouts should be used to detect deadlocks.
2020
* Do not use a transaction after it has been committed, aborted, or disposed.
2121
* Do not use an enumeration outside of the transaction scope it was created in.
2222
* Do not create a transaction within another transaction's `using` statement because it can cause deadlocks.
@@ -31,7 +31,7 @@ The guidelines are organized as simple recommendations prefixed with the terms *
3131

3232
Here are some things to keep in mind:
3333

34-
* The default time-out is four seconds for all the Reliable Collection APIs. Most users should use the default time-out.
34+
* The default timeout is 4 seconds for all the Reliable Collection APIs. Most users should use the default timeout.
3535
* The default cancellation token is `CancellationToken.None` in all Reliable Collections APIs.
3636
* The key type parameter (*TKey*) for a Reliable Dictionary must correctly implement `GetHashCode()` and `Equals()`. Keys must be immutable.
3737
* To achieve high availability for the Reliable Collections, each service should have at least a target and minimum replica set size of 3.

0 commit comments

Comments
 (0)