lör 25 mars 2017 kl 14:11 skrev Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
Am 25/03/2017 um 13:42 schrieb fredrik.holmqvist@xxxxxxxxx:
Moved timout handling into its own struct, and changed state
timeout from max(remaing, 60s) to min(remaining, MAX_TIMEOUT)
It wasn't 60s but 60ms. It does make sense to restrict the minimum, as
"remaining" might get a negative value; it does not really make sense to
limit the value at the other end, though, as that's a computation that
cannot really create bogus values IIRC.