fix(auth): spooler locks correct database (#1134)

This commit is contained in:
Silvan
2020-12-24 13:01:23 +01:00
committed by GitHub
parent a6c4702b8e
commit 28c8274eab
2 changed files with 3 additions and 8 deletions

View File

@@ -77,12 +77,6 @@ func Register(configs Configs, bulkLimit, errorCount uint64, view *view.View, es
}
}
func subscribe(es eventstore.Eventstore, handlers []query.Handler) {
for _, handler := range handlers {
es.Subscribe(handler.AggregateTypes()...)
}
}
func (configs Configs) cycleDuration(viewModel string) time.Duration {
c, ok := configs[viewModel]
if !ok {