1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

set huge ttl for a consensus connection

This commit is contained in:
Sergey Cherepanov 2023-08-09 15:57:04 +02:00
parent 7250d309ea
commit 75f9122df7
No known key found for this signature in database
GPG key ID: 87F8EDE8FBDF637C

View file

@ -145,6 +145,7 @@ func (s *service) openStream(ctx context.Context) (st *stream, err error) {
if err != nil {
return nil, err
}
pr.SetTTL(time.Hour * 24)
dc, err := pr.AcquireDrpcConn(ctx)
if err != nil {
return nil, err