Created a timeout for starting webhook mode to allow traefik to expose the webhook server and assign an SSL cert.
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 3m28s
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 3m28s
This commit is contained in:
@@ -83,7 +83,10 @@ async function startWebhook(config: WebhookConfig) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (config.isWebhookMode) await startWebhook(config);
|
if (config.isWebhookMode)
|
||||||
|
await setTimeout(() => {
|
||||||
|
if (config.isWebhookMode) startWebhook(config);
|
||||||
|
}, 20000);
|
||||||
else if (config.isPollingMode) await startPolling(config);
|
else if (config.isPollingMode) await startPolling(config);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(error);
|
logger.error(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user