OBT-SYSADM\tomishinets 5 năm trước cách đây
mục cha
commit
86d04c9259
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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