mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 14:07:02 +09:00
set huge ttl for a consensus connection
This commit is contained in:
parent
7250d309ea
commit
75f9122df7
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ func (s *service) openStream(ctx context.Context) (st *stream, err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
pr.SetTTL(time.Hour * 24)
|
||||||
dc, err := pr.AcquireDrpcConn(ctx)
|
dc, err := pr.AcquireDrpcConn(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue