Skip to content

Commit

Permalink
Remove unnecesary command execution
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Mar 5, 2024
1 parent c6177f9 commit fb975cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .env.docker
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PYTHONPATH=/app/
DEBUG=0
DJANGO_SETTINGS_MODULE=config.settings.test
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_SECRET_KEY=t3st-s3cr3t#-!k3y
ETH_HASH_BACKEND=pysha3
REDIS_URL=redis://redis:6379/0
Expand Down
9 changes: 0 additions & 9 deletions docker/web/celery/worker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,8 @@ fi
if [ ${RUN_MIGRATIONS:-0} = 1 ]; then
echo "==> $(date +%H:%M:%S) ==> Migrating Django models... "
python manage.py migrate --noinput

echo "==> $(date +%H:%M:%S) ==> Setting up service... "
python manage.py setup_service

echo "==> $(date +%H:%M:%S) ==> Setting contracts... "
python manage.py update_safe_contracts_logo
fi

echo "==> $(date +%H:%M:%S) ==> Check RPC connected matches previously used RPC... "
python manage.py check_chainid_matches

echo "==> $(date +%H:%M:%S) ==> Running Celery worker with a max_memory_per_child of ${MAX_MEMORY_PER_CHILD} <=="
exec celery -C -A config.celery_app worker \
--loglevel $log_level --pool=gevent \
Expand Down

0 comments on commit fb975cf

Please sign in to comment.