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