Skip to content

Fix repair time underflow in threadedUpdateRenterHealth

Christopher Schinnerl requested to merge fix-repair-time-underflow into unstable

threadedUpdateRenterHealth could potentially produce an underflow where it would wait for a long time before bubbling the health again. By fixing that we can also stop initializing a .dir with time.Now() for the LastHealthCheckTime and remove that check from the repair test.

Closes #3483 (closed)

Edited by Christopher Schinnerl

Merge request reports