tomishinets.v 5 years ago
parent
commit
8743427486
1 changed files with 1 additions and 1 deletions
  1. 1 1
      healthcheck.sh

+ 1 - 1
healthcheck.sh

@@ -29,7 +29,7 @@ else
     unset IFS
     for i in ${!sorted[*]}
     do
-      if [[ ${last_node_oct} -eq ${sorted[i]} ]];then time_to_dead=$((i*180+curtime));echo "${time_to_dead}" > /tmp/dead;exit 0;fi
+      if [[ ${last_node_oct} -eq ${sorted[i]} ]];then time_to_dead=$((i*180+curtime+30));echo "${time_to_dead}" > /tmp/dead;exit 0;fi
     done
   fi
 fi