Skip to content

Commit 88ee07e

Browse files
committed
Add some useful prod commands to the readme
1 parent 70c3f0f commit 88ee07e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,15 @@ make lint-fix-unsafe
7474
# Run both "make format" and "make lint-fix-unsafe" (usually what you want)
7575
make fix
7676
```
77+
78+
# Useful production commands
79+
80+
Restart all services:
81+
```bash
82+
supervisorctl restart cfbot_worker: cfbot_api
83+
```
84+
85+
Reset backoff from all submissions:
86+
```sql
87+
UPDATE submission set backoff_until = NULL, last_backoff = NULL where backoff_until is not null;
88+
```

0 commit comments

Comments
 (0)