fix: push timeout (#4882) (#4885)

* push with timeout

* test: config for eventstore

(cherry picked from commit b9156da76d)

Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
Livio Spring
2022-12-15 10:40:13 +01:00
committed by GitHub
parent 3e52beaf89
commit d21bb902f1
11 changed files with 88 additions and 33 deletions

View File

@@ -99,7 +99,8 @@ func startZitadel(config *Config, masterKey string) error {
return err
}
eventstoreClient, err := eventstore.Start(dbClient)
config.Eventstore.Client = dbClient
eventstoreClient, err := eventstore.Start(config.Eventstore)
if err != nil {
return fmt.Errorf("cannot start eventstore for queries: %w", err)
}