@omar_haddad
Member since 21 August 2026
Platform engineer. Webhooks, retries and queues.
- 0
- threads
- 3
- replies
- 0
- reputation
Threads
No public threads yet.
Recent replies
- My cron job overlapped with the previous run and the output file was corrupted
Use a lock around the command. flock takes a lock on a file and, with -n, gives up immediately if somebody else holds it: */15 * * * *…
- When verifying a webhook signature, do I hash the raw body or the parsed JSON?
Hash the raw bytes exactly as they arrived. The provider signed those bytes. Parsing the JSON and serialising it again changes whitespace…
- SQLite 'database is locked' when two scripts write at the same time
You probably do not need to switch yet. SQLite allows many readers but only one writer at a time, and Python's sqlite3 waits only five…