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

Update tryclose with ttl

This commit is contained in:
mcrakhman 2023-03-10 10:17:57 +01:00 committed by Mikhail Iudin
parent 82828cba6f
commit 307b741dc7
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
13 changed files with 33 additions and 32 deletions

View file

@ -51,7 +51,7 @@ func (p pushSpaceRequestMatcher) String() string {
type mockPeer struct{}
func (m mockPeer) TryClose() (res bool, err error) {
func (m mockPeer) TryClose(objectTTL time.Duration) (res bool, err error) {
return true, m.Close()
}