Changeset 406 in code for trunk/downstream.go
- Timestamp:
- Aug 20, 2020, 3:38:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r404 r406 865 865 } 866 866 867 seq, ok := history. offlineClients[dc.clientName]867 seq, ok := history.clients[dc.clientName] 868 868 if !ok { 869 869 continue 870 870 } 871 delete(history.offlineClients, dc.clientName) 872 873 // If all clients have received history, no need to keep the 874 // ring buffer around 875 if len(history.offlineClients) == 0 { 876 delete(net.history, target) 877 } 871 history.clients[dc.clientName] = history.ring.Cur() 878 872 879 873 consumer := history.ring.NewConsumer(seq)
Note:
See TracChangeset
for help on using the changeset viewer.