fix(webhooks): extend timeout for webhook retries to 15 minutes
Increase the timeout duration in the retryFailedWebhook function from 30 seconds to 15 minutes to accommodate longer processing times for webhook retries. This change aims to improve the reliability of the retry mechanism.
This commit is contained in:
@@ -24,7 +24,7 @@ async function retryFailedWebhook(filepath) {
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
timeout: 30000
|
||||
timeout: 900000 // 15 minutes
|
||||
});
|
||||
|
||||
console.log(`✅ Retry successful: ${response.status}`);
|
||||
|
||||
Reference in New Issue
Block a user