From 8dccef6c677a8aee1fe0297771badd5fdb394e9d Mon Sep 17 00:00:00 2001 From: sousaedu Date: Thu, 15 Jul 2021 11:48:14 +0200 Subject: [PATCH] Fix bug 1597 - tweaking timings in the locks Tweaking the locking timings to see if it decreases starvation locks. Change-Id: If62aa28d5652dc707a1eebee22a25353bcb76ae9 Signed-off-by: sousaedu --- NG-RO/osm_ng_ro/ro.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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] -- 2.17.1