From: sousaedu Date: Thu, 15 Jul 2021 09:48:14 +0000 (+0200) Subject: Fix bug 1598 - tweaking timings in the locks X-Git-Tag: release-v11.0-start~3 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=commitdiff_plain;h=1953edcfd434436999d99b5d6c805d7fcecc80f8 Fix bug 1598 - 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]