swarm/swap: rebased on latest master

This commit is contained in:
Fabio Barone 2018-10-11 19:09:28 -05:00
parent 9f3a664312
commit 86b421d8e1

View file

@ -130,7 +130,7 @@ func retrievalStreamerFunc(ctx *adapters.ServiceContext, bucket *sync.Map) (s no
DoSync: true, DoSync: true,
SyncUpdateDelay: 3 * time.Second, SyncUpdateDelay: 3 * time.Second,
DoRetrieve: true, DoRetrieve: true,
}) }, nil)
fileStore := storage.NewFileStore(netStore, storage.NewFileStoreParams()) fileStore := storage.NewFileStore(netStore, storage.NewFileStoreParams())
bucket.Store(bucketKeyFileStore, fileStore) bucket.Store(bucketKeyFileStore, fileStore)