Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 1a01a9a

Browse files
dmiusDmitry
authored andcommitted
CPU count fix
1 parent d82bf59 commit 1a01a9a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nancy_run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ OP_START_TIME=$(date +%s);
884884
echo "$(date "+%Y-%m-%d %H:%M:%S"): Restore database dump"
885885
#CPU_CNT=$(cat /proc/cpuinfo | grep processor | wc -l)
886886
CPU_CNT=$(docker_exec bash -c "cat /proc/cpuinfo | grep processor | wc -l") # for execute in docker
887-
let CPU_CNT=$CPU_CNT*2
888887
case "$DB_DUMP_EXT" in
889888
sql)
890889
docker_exec bash -c "cat $MACHINE_HOME/$DB_DUMP_FILENAME | psql --set ON_ERROR_STOP=on -U postgres test $OUTPUT_REDIRECT"

0 commit comments

Comments
 (0)