mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Change deletion logic in headsync and objectsync
This commit is contained in:
parent
73b27c7dac
commit
a0aa02bb8a
4 changed files with 28 additions and 13 deletions
|
@ -139,8 +139,8 @@ func (s *spaceService) NewSpace(ctx context.Context, id string) (Space, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
headSync := headsync.NewHeadSync(id, spaceIsDeleted, s.config.SyncPeriod, st, peerManager, getter, syncStatus, log)
|
||||
objectSync := objectsync.NewObjectSync(id, spaceIsDeleted, peerManager, getter)
|
||||
headSync := headsync.NewHeadSync(id, spaceIsDeleted, s.config.SyncPeriod, lastConfiguration, st, peerManager, getter, syncStatus, log)
|
||||
objectSync := objectsync.NewObjectSync(id, spaceIsDeleted, lastConfiguration, peerManager, getter)
|
||||
sp := &space{
|
||||
id: id,
|
||||
objectSync: objectSync,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue