You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix crash if nil passed to NewTickerWithTimer
Doc for function says that passing nil for the timer argument should
cause the default system timer to be used. Ensure that that timer is
actually assigned.
Merge branch 'Oppodelldog-v3' into v3; fixcenkalti#74
* Oppodelldog-v3:
fix flaky ticker test
unexport DefaultTimer
refactor; move Timer to its own file
provide custom timer in tests to speed up
add NewTickerWithTimer function
Abstract timer corresponding logic towards an interface to enable user defined timer behavior. By default time.Timer is used as timer.