- Timestamp:
- Mar 16, 2020, 2:08:56 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r108 r109 556 556 var seqPtr *uint64 557 557 if firstDownstream { 558 uc.lock.Lock() 558 559 seq, ok := uc.history[historyName] 560 uc.lock.Unlock() 559 561 if ok { 560 562 seqPtr = &seq … … 584 586 585 587 if lastDownstream { 588 uc.lock.Lock() 586 589 uc.history[historyName] = seq 590 uc.lock.Unlock() 587 591 } 588 592 }() -
trunk/upstream.go
r103 r109 9 9 "strconv" 10 10 "strings" 11 "sync" 11 12 "time" 12 13 … … 49 50 modes modeSet 50 51 channels map[string]*upstreamChannel 51 history map[string]uint6452 52 caps map[string]string 53 53 54 54 saslClient sasl.Client 55 55 saslStarted bool 56 57 lock sync.Mutex 58 history map[string]uint64 // TODO: move to network 56 59 } 57 60
Note:
See TracChangeset
for help on using the changeset viewer.