Remove SendResponsible

This commit is contained in:
mcrakhman authored and Mikhail Iudin committed 2023-02-03 20:15:55 +01:00
1 parent 5db8fd8f0b
commit b97df8d5f6
3 files changed
-21

No files matched your search

-5
View File
@@ -86,11 +86,6 @@ func (s *messagePool) SendPeer(ctx context.Context, peerId string, msg *spacesyn
return s.PeerManager.SendPeer(ctx, peerId, msg)
}
func (s *messagePool) SendResponsible(ctx context.Context, msg *spacesyncproto.ObjectSyncMessage) (err error) {
s.updateLastUsage()
return s.PeerManager.SendResponsible(ctx, msg)
}
func (s *messagePool) Broadcast(ctx context.Context, msg *spacesyncproto.ObjectSyncMessage) (err error) {
s.updateLastUsage()
return s.PeerManager.Broadcast(ctx, msg)