mirror of https://gitee.com/bigwinds/arangodb
Fix too short timeout in server shutdown /Current/Lock in agency.
This commit is contained in:
parent
f3e47db5d8
commit
d1bea93518
|
@ -458,7 +458,7 @@ void ApplicationCluster::stop() {
|
|||
{
|
||||
// Try only once to unregister because maybe the agencycomm
|
||||
// is shutting down as well...
|
||||
AgencyCommLocker locker("Current", "WRITE", 120.0, 0.001);
|
||||
AgencyCommLocker locker("Current", "WRITE", 120.0, 1.000);
|
||||
|
||||
if (locker.successful()) {
|
||||
// unregister ourselves
|
||||
|
|
Loading…
Reference in New Issue