Skip to content

Commit f79ec11

Browse files
authored
Merge pull request #1386 from shiftstack/fip-backoff
🐛 Decrease initial backoff for Floating IP operations
2 parents 8bcf6d2 + fbedb2f commit f79ec11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/cloud/services/networking/floatingip.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ func (s *Service) DeleteFloatingIP(eventObject runtime.Object, ip string) error
114114

115115
var backoff = wait.Backoff{
116116
Steps: 10,
117-
Duration: 30 * time.Second,
118-
Factor: 1.0,
117+
Duration: 1 * time.Second,
118+
Factor: 2.0,
119119
Jitter: 0.1,
120+
Cap: 30 * time.Second,
120121
}
121122

122123
func (s *Service) AssociateFloatingIP(eventObject runtime.Object, fp *floatingips.FloatingIP, portID string) error {

0 commit comments

Comments
 (0)