Skip to content

Commit

Permalink
droplet: increase number of retries for inflight chunk check
Browse files Browse the repository at this point in the history
While I don't think the former limit has been reached,
increasing the limit will not hurt.
  • Loading branch information
joergsteffens committed Oct 15, 2018
1 parent 18b6c28 commit ce1a57f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/stored/backends/chunked_device.h
Expand Up @@ -55,9 +55,10 @@

/*
* Busy wait retry for inflight chunks.
* Default 12 * 5 = 60 seconds.
* Default 120 * 5 = 600 seconds, 10 minutes.
*/
#define INFLIGHT_RETRIES 12
//#define INFLIGHT_RETRIES 12
#define INFLIGHT_RETRIES 120
#define INFLIGT_RETRY_TIME 5

enum thread_wait_type {
Expand Down

0 comments on commit ce1a57f

Please sign in to comment.