OBT-SYSADM\tomishinets %!s(int64=5) %!d(string=hai) anos
pai
achega
86d04c9259
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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