Introduce a new script to process and retry failed webhooks stored in a designated directory. The script reads JSON files containing webhook payloads and error information, attempts to resend the payloads, and logs the success or failure of each retry. Additionally, it creates a processed directory to organize successfully retried webhooks. This enhances error handling and recovery for webhook failures.
4 lines
93 B
Plaintext
4 lines
93 B
Plaintext
---
|
|
alwaysApply: true
|
|
---
|
|
the server is always running an can be restarted with pm2 restart 3 |