OBT-SYSADM\tomishinets 5 년 전
부모
커밋
86d04c9259
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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