Skip to content

Commit 1081d83

Browse files
committed
deploy: increase cpu and memory
1 parent 0481d5b commit 1081d83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/toolforge-check-lag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
become ${{ matrix.tool }} webservice python3.11 shell -- webservice-python-bootstrap
3535
become ${{ matrix.tool }} webservice python3.11 shell -- ./www/python/venv/bin/python ./www/python/src/manage.py check_lag
3636
if (( $? != 0 )); then
37-
become ${{ matrix.tool }} webservice python3.11 restart
37+
become ${{ matrix.tool }} webservice python3.11 restart --cpu 2 --mem 3Gi
3838
fi

.github/workflows/toolforge-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
become ${{ matrix.tool }} webservice python3.11 shell -- webservice-python-bootstrap
3535
become ${{ matrix.tool }} webservice python3.11 shell -- ./www/python/venv/bin/python ./www/python/src/manage.py migrate
3636
become ${{ matrix.tool }} webservice python3.11 shell -- ./www/python/venv/bin/python ./www/python/src/manage.py collectstatic --noinput
37-
become ${{ matrix.tool }} webservice python3.11 restart
37+
become ${{ matrix.tool }} webservice python3.11 restart --cpu 2 --mem 3Gi
3838
become ${{ matrix.tool }} webservice python3.11 status
3939
become ${{ matrix.tool }} ./www/python/src/restart_celery.sh

0 commit comments

Comments
 (0)