Commit fceefa702e0fa9d574c1a3e792289e0dabdcbcb7

Authored by Adhidarma Hadiwinoto
1 parent b10ac02aec
Exists in master

config.wait_for_release_lock_wait_for_command_ms

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -16,6 +16,6 @@
16 16 },
17 17  
18 18 "interval_beetwen_signal_strength_ms": 60000,
  19 + "wait_for_release_lock_wait_for_command_ms": 2000,
19 20 "disable_delete_inbox_on_startup": false
20   -
21 21 }
22 22 \ No newline at end of file
... ... @@ -303,7 +303,7 @@ async function sendSMS(destination, msg) {
303 303 setTimeout(() => {
304 304 logger.verbose('Releasing command lock');
305 305 mutex.releaseLockWaitForCommand();
306   - }, 2000);
  306 + }, config.wait_for_release_lock_wait_for_command_ms || 2000);
307 307 }
308 308  
309 309 function init() {