Fix bug 1598 - tweaking timings in the locks 63/11063/2
authorsousaedu <eduardo.sousa@canonical.com>
Thu, 15 Jul 2021 09:48:14 +0000 (11:48 +0200)
committersousaedu <eduardo.sousa@canonical.com>
Thu, 15 Jul 2021 09:52:48 +0000 (11:52 +0200)
Tweaking the locking timings to see if it decreases starvation locks.

Change-Id: If62aa28d5652dc707a1eebee22a25353bcb76ae9
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
NG-RO/osm_ng_ro/ro.cfg

index a2c78ec..6969702 100644 (file)
@@ -58,9 +58,9 @@ log.level: "DEBUG"
 #log.file: /var/log/osm/ro.log
 
 # time a ro_task at database remain locked, before expiring it must be re-locked with a write at database
 #log.file: /var/log/osm/ro.log
 
 # time a ro_task at database remain locked, before expiring it must be re-locked with a write at database
-task_locked_time: 600
-task_max_locked_time: 7200  # lock is renewed until this maximum time
-task_relock_time: 30   # 30s before expiring lock time, it is re-locked again
+task_locked_time: 300
+task_max_locked_time: 1200  # lock is renewed until this maximum time
+task_relock_time: 15   # 30s before expiring lock time, it is re-locked again
 
 
 [database]
 
 
 [database]