From 449db175005a0dee56d2e84665c67f0695280f8c Mon Sep 17 00:00:00 2001 From: Dominik Deutsch Date: Wed, 12 May 2021 20:37:34 +0200 Subject: [PATCH] Execute webhook requests as background processes --- docker-entrypoint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-entrypoint b/docker-entrypoint index 34e39a0..386282f 100755 --- a/docker-entrypoint +++ b/docker-entrypoint @@ -62,7 +62,8 @@ notify_webhook() { if [ -n "$WEBHOOK_URL" ] then - curl -X POST -H "Content-type: application/json" -d "$(generate_webhook_payload $text)" $WEBHOOK_URL + # execute webhook requests as background process to prevent healer from blocking + curl -X POST -H "Content-type: application/json" -d "$(generate_webhook_payload $text)" $WEBHOOK_URL & fi }