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
logger.Info(fmt.Sprintf("Cannot make more POST requests as rate-limit is reached (%d per %v seconds). Waiting and retrying after %v seconds", reconciler.SecondaryPOSTRequestLimit, reconciler.SecondaryLinodeTooManyPOSTRequestsErrorRetryDelay, reconciler.SecondaryLinodeTooManyPOSTRequestsErrorRetryDelay))
697
+
logger.Info(fmt.Sprintf("Cannot make more POST requests as rate-limit is reached. Waiting and retrying after %v seconds", ctr.RetryAfter()))
Copy file name to clipboardExpand all lines: util/reconciler/defaults.go
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -65,15 +65,6 @@ const (
65
65
66
66
// DefaultDNSTTLSec is the default TTL used for DNS entries for api server loadbalancing
67
67
DefaultDNSTTLSec=30
68
-
69
-
// DefaultLinodeTooManyPOSTRequestsErrorRetryDelay is the default requeue delay if there is Linode API error for POST request. Currently, it is set to 10 requests per 30 seconds
// SecondaryLinodeTooManyPOSTRequestsErrorRetryDelay is the secondary requeue delay if there is Linode API error for POST request. Currently, it is set to 5 requests per 15 seconds
// DefaultPOSTRequestLimit is the default limit of how many POST requests can be made to /linode/instances endpoint in 30 seconds before rate-limit reset.
74
-
DefaultPOSTRequestLimit=10
75
-
// SecondaryPOSTRequestLimit is the secondary limit of how many POST requests can be made to /linode/instances endpoint in 15 seconds before rate-limit kicks in.
76
-
SecondaryPOSTRequestLimit=5
77
68
)
78
69
79
70
// DefaultedLoopTimeout will default the timeout if it is zero-valued.
0 commit comments