diff --git a/docker/scanner/docker-entrypoint.sh b/docker/scanner/docker-entrypoint.sh index 1a652b1..7927253 100755 --- a/docker/scanner/docker-entrypoint.sh +++ b/docker/scanner/docker-entrypoint.sh @@ -7,4 +7,6 @@ crontab -l | { cat; echo "35 0 * * * /usr/local/bin/sbws -c /root/.sbws.ini cle service cron start +chmod -R 644 /root/.sbws/v3bw + sbws scanner diff --git a/operations/deploy-stage.hcl b/operations/deploy-stage.hcl index a0ed0d5..e48a27c 100644 --- a/operations/deploy-stage.hcl +++ b/operations/deploy-stage.hcl @@ -67,8 +67,8 @@ job "sbws-stage" { } resources { - cpu = 256 - memory = 128 + cpu = 512 + memory = 1024 } template { diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py index a1a9e56..1c96ca0 100644 --- a/sbws/lib/v3bwfile.py +++ b/sbws/lib/v3bwfile.py @@ -1504,7 +1504,7 @@ def read_number_consensus_relays(consensus_path): "percentage of measured relays because the cached " "consensus file is not found." ) - log.debug("Number of relays in the network %s", num) + log.info("Number of relays in the network %s", num) return num @staticmethod