Commit dafe6709 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2e79e3ba
...@@ -128,13 +128,15 @@ func OpenStorage(ctx context.Context, zurl string, opt *OpenOptions) (IStorage, ...@@ -128,13 +128,15 @@ func OpenStorage(ctx context.Context, zurl string, opt *OpenOptions) (IStorage,
driver: storDriver, driver: storDriver,
l1cache: cache, l1cache: cache,
drvWatchq: drvWatchq, down: make(chan struct{}),
drvHead: at0, drvWatchq: drvWatchq,
watchReq: make(chan watchRequest), drvHead: at0,
watchTab: make(map[chan<- Event]struct{}), watchReq: make(chan watchRequest),
watchTab: make(map[chan<- Event]struct{}),
watchCancel: make(map[chan<- Event]chan struct{}),
} }
go stor.watcher() // XXX stop on close go stor.watcher() // stoped on close
return stor, nil return stor, nil
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment