mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-06 16:26:52 -05:00
Merge pull request #1734 from owncloud/delay-accounts-execution
Delay accounts service startup
This commit is contained in:
8
changelog/unreleased/accounts-init-regression.md
Normal file
8
changelog/unreleased/accounts-init-regression.md
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user