OBT-SYSADM\tomishinets vor 5 Jahren
Ursprung
Commit
86d04c9259
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      healthcheck.sh

+ 1 - 1
healthcheck.sh

@@ -25,7 +25,7 @@ else
   # Вычисляем index в названии tasks
     service_index=$(nslookup ${node_ip}|grep "in-addr.arpa"|cut -d " " -f3|cut -d "." -f2)
   # Создаем файл со временем убийства контейнера
-    time_to_dead=$((service_index*180+curtime+20))
+    time_to_dead=$((service_index*180+curtime))
     echo ${time_to_dead} > /tmp/dead
   fi
 fi