Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Increase webhook timeout from 1 second to 3 second

天舟836f5df419d8
diff --git a/plugin/webhook/webhook.go b/plugin/webhook/webhook.go
index 5bb3b3ff2f..272672af04 100644
--- a/plugin/webhook/webhook.go
+++ b/plugin/webhook/webhook.go
@@ -9,7 +9,8 @@ import (
var (
receiverMu sync.RWMutex
receivers = make(map[string]WebhookReceiver)
- timeout = 1 * time.Second
+ // Based on the local test, Teams sometimes cannot finish the request in 1 second, so use 3s.
+ timeout = 3 * time.Second
timeFormat = "2006-01-02 15:04:05"
)