From: sousaedu Date: Thu, 15 Jul 2021 09:48:14 +0000 (+0200) Subject: Fix bug 1427 - tweaking timings in the locks X-Git-Tag: v9.1.4~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F11064%2F1;p=osm%2FRO.git Fix bug 1427 - tweaking timings in the locks Tweaking the locking timings to see if it decreases starvation locks. Change-Id: If62aa28d5652dc707a1eebee22a25353bcb76ae9 Signed-off-by: sousaedu --- diff --git a/NG-RO/osm_ng_ro/ro.cfg b/NG-RO/osm_ng_ro/ro.cfg index a2c78ecd..6969702a 100644 --- a/NG-RO/osm_ng_ro/ro.cfg +++ b/NG-RO/osm_ng_ro/ro.cfg @@ -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 -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]