Changeset 735 in code for trunk/rate.go

Timestamp:
Dec 2, 2021, 11:14:35 AM (4 years ago)
Author:
contact
Message:

Add exponential backoff when re-connecting to upstream

The first reconnection attempt waits for 1min, the second the 2min,
and so on up to 10min. There's a 1min jitter so that multiple failed
connections don't try to reconnect at the exact same time.

Closes: https://todo.sr.ht/~emersion/soju/161

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.