typo
This commit is contained in:
parent
e36aaeea36
commit
99fe461c77
@ -52,7 +52,7 @@ type Client struct {
|
|||||||
//
|
//
|
||||||
// Concurrency design:
|
// Concurrency design:
|
||||||
// 1. State is immutable
|
// 1. State is immutable
|
||||||
// 2. The MatchMakers uses copy-on-write and never modifies a state directly.
|
// 2. The MatchMaker uses copy-on-write and never modifies a state directly.
|
||||||
// 3. the matchmaker modifies the expiry time of the agent. This is dealt with using the
|
// 3. the matchmaker modifies the expiry time of the agent. This is dealt with using the
|
||||||
// sync/atomic package by storing the expiry time as an int64 using time.Time.UnixNano()
|
// sync/atomic package by storing the expiry time as an int64 using time.Time.UnixNano()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user