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

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

No files matched your search

@@ -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
+1 -3
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