You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/applicationserver/config.go
+16-12Lines changed: 16 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -155,21 +155,25 @@ type UplinkStorageConfig struct {
155
155
156
156
// WebhooksConfig defines the configuration of the webhooks integration.
157
157
typeWebhooksConfigstruct {
158
-
Registry web.WebhookRegistry`name:"-"`
159
-
Targetstring`name:"target" description:"Target of the integration (direct)"`
160
-
Timeout time.Duration`name:"timeout" description:"Wait timeout of the target to process the request"`// nolint:lll
161
-
QueueSizeint`name:"queue-size" description:"Number of requests to queue"`
162
-
Workersint`name:"workers" description:"Number of workers to process requests"`
163
-
UnhealthyAttemptsThresholdint`name:"unhealthy-attempts-threshold" description:"Number of failed webhook attempts before the webhook is disabled"`// nolint:lll
164
-
UnhealthyRetryInterval time.Duration`name:"unhealthy-retry-interval" description:"Time interval after which disabled webhooks may execute again"`
165
-
Templates web.TemplatesConfig`name:"templates" description:"The store of the webhook templates"`
Targetstring`name:"target" description:"Target of the integration (direct)"`
160
+
Timeout time.Duration`name:"timeout" description:"Wait timeout of the target to process the request"`// nolint:lll
161
+
QueueSizeint`name:"queue-size" description:"Number of requests to queue"`
162
+
Workersint`name:"workers" description:"Number of workers to process requests"`
163
+
UnhealthyAttemptsThresholdint`name:"unhealthy-attempts-threshold" description:"Number of failed webhook attempts before the webhook is disabled"`// nolint:lll
164
+
UnhealthyRetryInterval time.Duration`name:"unhealthy-retry-interval" description:"Time interval after which disabled webhooks may execute again"`
165
+
UnhealthyRetryBackoffIntervalMin time.Duration`name:"unhealthy-retry-min-backoff-interval" description:"Minimum backoff interval for retrying unhealthy webhooks"`
166
+
UnhealthyRetryBackoffIntervalMax time.Duration`name:"unhealthy-retry-max-backoff-interval" description:"Maximum backoff interval for retrying unhealthy webhooks"`
167
+
Templates web.TemplatesConfig`name:"templates" description:"The store of the webhook templates"`
0 commit comments