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: internal/config/config.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ func New() (*Config, error) {
37
37
flag.DurationVar(&cfg.ApiDataTimeStep, "api-data-time-step", envDuration("API_DATA_TIME_STEP", 3*time.Minute), "Fixed Ping-Admin API time between data points")
flag.DurationVar(&cfg.RequestDelay, "request-delay", envDuration("REQUEST_DElAY", 2*time.Second), "Minimum delay before API request (will be set to random between this and doubled values)")
40
+
flag.DurationVar(&cfg.RequestDelay, "request-delay", envDuration("REQUEST_DELAY", 3*time.Second), "Minimum delay before API request (will be set to random between this and doubled values)")
41
41
flag.IntVar(&cfg.RequestRetries, "request-retries", envInt("REQUEST_RETRIES", 3), "Maximum number of retries for API requests")
42
42
flag.IntVar(&cfg.MaxRequestsPerSecond, "max-requests-per-second", envInt("MAX_REQUESTS_PER_SECOND", 2), "Maximum number of API requests allowed per second")
43
43
flag.StringVar(&cfg.ListenAddress, "listen-address", envString("LISTEN_ADDRESS", ":8080"), "Address to listen on for HTTP requests")
0 commit comments