Skip to content

Commit

Permalink
increase the default probe to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Aug 12, 2024
1 parent b712915 commit 7e894a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reconnect.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void reconnect_set_name(struct reconnect *, const char *name);
/* Defaults, all in msecs. */
#define RECONNECT_DEFAULT_MIN_BACKOFF 1000
#define RECONNECT_DEFAULT_MAX_BACKOFF 8000
#define RECONNECT_DEFAULT_PROBE_INTERVAL 5000
#define RECONNECT_DEFAULT_PROBE_INTERVAL 60000

int reconnect_get_min_backoff(const struct reconnect *);
int reconnect_get_max_backoff(const struct reconnect *);
Expand Down

0 comments on commit 7e894a0

Please sign in to comment.