Skip to content

Commit

Permalink
Always restart service bots if they crash
Browse files Browse the repository at this point in the history
  • Loading branch information
slundqui committed Jun 26, 2024
1 parent 910aa50 commit 08bb5cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.agent0-bots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
image: ${AGENT0_IMAGE}
profiles:
- "service-bot"
restart: always
command: |
/bin/sh -c "sleep 1; python scripts/checkpoint_bots.py --pool-check-sleep-blocks 30 --infra"
env_file:
Expand All @@ -12,6 +13,7 @@ services:
image: ${AGENT0_IMAGE}
profiles:
- "service-bot"
restart: always
command: |
/bin/sh -c "sleep 1; python scripts/invariant_checks.py --pool-check-sleep-blocks 30 --infra"
env_file:
Expand Down

0 comments on commit 08bb5cf

Please sign in to comment.