Skip to content

Commit

Permalink
Fix typo in DistributedLock.FileSystem.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrwaugh committed Apr 18, 2021
1 parent 5bd69af commit 940e843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/DistributedLock.FileSystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ await using (var handle = await @lock.TryAcquireAsync())

## Implementation notes

Because they are based on files, these locks are used to coordinate between processes on the same machine (as opposed to across machines). In some csaes, it may be possible to coordinate across machines by specifying the path of a networked file. However, this should be tested because the network file system may not truly support locking.
Because they are based on files, these locks are used to coordinate between processes on the same machine (as opposed to across machines). In some cases, it may be possible to coordinate across machines by specifying the path of a networked file. However, this should be tested because the network file system may not truly support locking.

`FileDistributedLock`s can be constructed either from a base `DirectoryInfo` and a `name`, which will cause it to create a file *based on* `name` in the specified directory. If you know exactly which file you'd like to lock on, you can pass a `FileInfo` instead.

Expand Down

0 comments on commit 940e843

Please sign in to comment.