Skip to content

Commit

Permalink
Changing default polling interval from 60 to 30 (#621)
Browse files Browse the repository at this point in the history
Proposing this change following email discussion on making it less conservative. What do you think of this change?

Now it makes me think, can we update the `DefaultRetryDuration` from 30 seconds to 15 seconds if the change above is fine?

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
  • Loading branch information
madewithsmiles and jhendrixMSFT authored Jun 2, 2021
1 parent 41c23d2 commit 10e0b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autorest/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

const (
// DefaultPollingDelay is a reasonable delay between polling requests.
DefaultPollingDelay = 60 * time.Second
DefaultPollingDelay = 30 * time.Second

// DefaultPollingDuration is a reasonable total polling duration.
DefaultPollingDuration = 15 * time.Minute
Expand Down

0 comments on commit 10e0b31

Please sign in to comment.