Skip to content

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

fix: post webhook without cancel (#13012)

p0nyaad9764c56a3
diff --git a/backend/component/webhook/manager.go b/backend/component/webhook/manager.go
index 6233028303..74036dccdd 100644
--- a/backend/component/webhook/manager.go
+++ b/backend/component/webhook/manager.go
@@ -349,6 +349,7 @@ func (m *Manager) getWebhookContextFromEvent(ctx context.Context, e *Event, acti
}
func (m *Manager) postWebhookList(ctx context.Context, webhookCtx *webhook.Context, webhookList []*store.ProjectWebhookMessage) {
+ ctx = context.WithoutCancel(ctx)
setting, err := m.store.GetAppIMSetting(ctx)
if err != nil {
slog.Error("failed to get app im setting", log.BBError(err))