Changeset 131 in code for trunk/upstream.go


Ignore:
Timestamp:
Mar 20, 2020, 9:48:17 PM (5 years ago)
Author:
contact
Message:

Move upstreamConn.history to network

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r129 r131  
    99        "strconv"
    1010        "strings"
    11         "sync"
    1211        "time"
    1312
     
    5453        saslClient  sasl.Client
    5554        saslStarted bool
    56 
    57         lock    sync.Mutex
    58         history map[string]uint64 // TODO: move to network
    5955}
    6056
     
    8682                ring:     NewRing(network.user.srv.RingCap),
    8783                channels: make(map[string]*upstreamChannel),
    88                 history:  make(map[string]uint64),
    8984                caps:     make(map[string]string),
    9085        }
Note: See TracChangeset for help on using the changeset viewer.