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,
driver: storDriver,
l1cache: cache,
drvWatchq: drvWatchq,
drvHead: at0,
watchReq: make(chan watchRequest),
watchTab: make(map[chan<- Event]struct{}),
down: make(chan struct{}),
drvWatchq: drvWatchq,
drvHead: at0,
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
}
......
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