OBT-SYSADM\tomishinets 5 years ago
parent
commit
0a17cec5c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      healthcheck.sh

+ 1 - 1
healthcheck.sh

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