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

Merge branch 'stable-any-sync' into GO-2482-full-sync-request-max-size

# Conflicts:
#	commonspace/objectsync/objectsync.go
#	commonspace/spaceutils_test.go
#	go.sum
This commit is contained in:
mcrakhman 2024-06-18 22:12:12 +02:00
commit b3d3b3ea92
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
80 changed files with 15552 additions and 1870 deletions

View file

@ -114,7 +114,7 @@ func (s *spaceService) CreateSpace(ctx context.Context, payload SpaceCreatePaylo
return
}
return store.Id(), nil
return store.Id(), store.Close(ctx)
}
func (s *spaceService) DeriveId(ctx context.Context, payload SpaceDerivePayload) (id string, err error) {
@ -139,7 +139,7 @@ func (s *spaceService) DeriveSpace(ctx context.Context, payload SpaceDerivePaylo
return
}
return store.Id(), nil
return store.Id(), store.Close(ctx)
}
func (s *spaceService) NewSpace(ctx context.Context, id string, deps Deps) (Space, error) {