Maarten Fonville
3aead15818
Handle HTTP 202 HEAD&GET with a retry ( #791 )
...
* Handle HTTP 202
Fixes #564
After some testing, it seems GitHub seems to be able to process the chrunching of statistics
for every repository I tested in around 2 seconds. So a delay of around 5 seconds should be
plenty to be very certain that the next try should succeed.
Another option would be to put this value lower and possibly waste an extra retry on it.
* Only re-request data if HEAD or GET (those are 'safe')
to e.g. avoid running a duplicate POST or PUT, that can change stuff on the server
Using RFC 2616 and https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html as guideline
* Fix testStatistics
* change wait time to 2 secs
2018-06-22 16:54:32 +08:00
..
2018-06-22 16:54:32 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-05-01 09:40:08 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-04-06 18:30:43 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-04-17 10:25:42 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-04-12 08:50:42 +08:00
2018-03-17 20:06:16 +08:00
2018-06-20 10:39:06 +08:00
2018-05-01 09:40:08 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-26 10:25:45 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-29 18:16:20 +08:00
2018-04-06 09:17:19 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-04-19 10:00:15 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-05-23 10:15:41 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-20 22:28:39 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-06-22 16:54:32 +08:00
2018-04-05 10:25:04 +08:00
2018-03-17 20:06:16 +08:00
2018-03-21 14:04:46 +08:00
2018-03-17 20:06:16 +08:00
2018-03-17 20:06:16 +08:00
2018-06-19 11:19:27 +08:00
2018-04-05 10:23:01 +08:00