src/defs.cpp
@@ -104,7 +104,7 @@ // which node might crash inside and cause deadlock. bool CenterInit(bhome_shm::SharedMemory &shm) { Mutex *mutex = shm.Create<Mutex>("shm_center_lock"); Mutex *mutex = shm.FindOrCreate<Mutex>("shm_center_lock"); if (!mutex || !mutex->try_lock()) { return false; } @@ -187,4 +187,6 @@ { ec = LastErrorStore().ec_; msg = LastErrorStore().msg_; } } int NodeTimeoutSec() { return 60; }