Files
atlantis/server
Nicholas (Nick) Meyer 875e2adc40 Improve github pull request call retries (#1810)
* Improve github pull request call retries

Retry with fixed 1 second backoff up to 3 retries was added by #1131 to
address #1019, but the issue continued to show up (#1453).

Increase max attempts to 5 and use exponential backoff for a maximum
total retry time of (2^n - n - 1) seconds, which is roughly 30 seconds
for current max attempts n = 5.

Also move the sleep to the top of the loop so that we never sleep
without sending the request again on the last iteration.

* Fix style with gofmt -s
2021-10-04 09:59:53 -07:00
..
2020-06-25 13:41:10 -07:00
2018-11-21 11:33:31 -06:00
2018-11-21 11:33:31 -06:00
2021-09-08 15:05:51 -04:00