mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-09 09:35:03 +09:00
Add requests and more stuff
This commit is contained in:
parent
ac08c01120
commit
4efac4a239
34 changed files with 263 additions and 1058 deletions
|
@ -203,6 +203,9 @@ func (s *streamPool) addStream(drpcStream drpc.Stream, tags ...string) (*stream,
|
|||
stats: newStreamStat(peerId),
|
||||
}
|
||||
st.queue = s.syncDelegate.GetQueue(peerId)
|
||||
if st.queue == nil {
|
||||
return nil, fmt.Errorf("no queue for peer %s", peerId)
|
||||
}
|
||||
s.streams[streamId] = st
|
||||
s.streamIdsByPeer[peerId] = append(s.streamIdsByPeer[peerId], streamId)
|
||||
for _, tag := range tags {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue