Merge pull request #1734 from owncloud/delay-accounts-execution

Delay accounts service startup
This commit is contained in:
Artur Neumann
2021-02-26 22:37:27 +05:45
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
Bugfix: Purposely delay accounts service startup
As it turns out the race condition between `accounts <-> storage-metadata` still remains. This PR is a hotfix, and it should be followed up with a proper fix. Either:
- block the accounts' initialization until the storage metadata is ready (using the registry) or
- allow the accounts service to initialize and use a message broker to signal the accounts the metadata storage is ready to receive requests.
https://github.com/owncloud/ocis/pull/1734

View File

@@ -50,13 +50,11 @@ var (
"thumbnails",
"web",
"webdav",
"accounts",
//"graph",
//"graph-explorer",
}
dependants = []string{
"storage-sharing",
"accounts",
}
// Maximum number of retries until getting a connection to the rpc runtime service.
maxRetries = 10