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
+38-27Lines changed: 38 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,9 @@ type InteropConfig struct {
49
49
50
50
// EndDeviceFetcherConfig represents configuration for the end device fetcher in Application Server.
51
51
typeEndDeviceFetcherConfigstruct {
52
-
Timeout time.Duration`name:"timeout" description:"Timeout of the end device retrival operation"`
53
-
CacheEndDeviceFetcherCacheConfig`name:"cache" description:"Cache configuration options for the end device fetcher"`
54
-
CircuitBreakerEndDeviceFetcherCircuitBreakerConfig`name:"circuit-breaker" description:"Circuit breaker options for the end device fetcher"`
52
+
Timeout time.Duration`name:"timeout" description:"Timeout of the end device retrival operation"`// nolint:lll
53
+
CacheEndDeviceFetcherCacheConfig`name:"cache" description:"Cache configuration options for the end device fetcher"`// nolint:lll
54
+
CircuitBreakerEndDeviceFetcherCircuitBreakerConfig`name:"circuit-breaker" description:"Circuit breaker options for the end device fetcher"`// nolint:lll
55
55
}
56
56
57
57
// EndDeviceFetcherCacheConfig represents configuration for device information caching in Application Server.
@@ -65,7 +65,7 @@ type EndDeviceFetcherCacheConfig struct {
65
65
typeEndDeviceFetcherCircuitBreakerConfigstruct {
66
66
Enablebool`name:"enable" description:"Enable circuit breaker behavior on burst errors"`
67
67
Timeout time.Duration`name:"timeout" description:"Timeout after which the circuit breaker closes"`
68
-
Thresholdint`name:"threshold" description:"Number of failed fetching attempts after which the circuit breaker opens"`
68
+
Thresholdint`name:"threshold" description:"Number of failed fetching attempts after which the circuit breaker opens"`// nolint:lll
69
69
}
70
70
71
71
// EndDeviceMetadataStorageConfig represents the configuration of end device metadata operations.
@@ -77,38 +77,38 @@ type EndDeviceMetadataStorageConfig struct {
77
77
// EndDeviceLocationStorageConfig represents the configuration of end device locations storage.
@@ -170,10 +170,10 @@ type UplinkStorageConfig struct {
170
170
typeWebhooksConfigstruct {
171
171
Registry web.WebhookRegistry`name:"-"`
172
172
Targetstring`name:"target" description:"Target of the integration (direct)"`
173
-
Timeout time.Duration`name:"timeout" description:"Wait timeout of the target to process the request"`
173
+
Timeout time.Duration`name:"timeout" description:"Wait timeout of the target to process the request"`// nolint:lll
174
174
QueueSizeint`name:"queue-size" description:"Number of requests to queue"`
175
175
Workersint`name:"workers" description:"Number of workers to process requests"`
176
-
UnhealthyAttemptsThresholdint`name:"unhealthy-attempts-threshold" description:"Number of failed webhook attempts before the webhook is disabled"`
176
+
UnhealthyAttemptsThresholdint`name:"unhealthy-attempts-threshold" description:"Number of failed webhook attempts before the webhook is disabled"`// nolint:lll
177
177
UnhealthyRetryInterval time.Duration`name:"unhealthy-retry-interval" description:"Time interval after which disabled webhooks may execute again"`
178
178
Templates web.TemplatesConfig`name:"templates" description:"The store of the webhook templates"`
0 commit comments