Closed rosenbrockc closed 3 years ago
I think its fixed now. With this 764c69df4f8f8ca864fd2c9e2f0b43dcd6420fbb Let me know and I will bump the version.
Good catch. Did not have an easy way to test infinite run in unit tests so missed it
Fixed in release 0.2.4
By default, the
limit
on aDoist
isNone
, meaning that it will run forever. During thedo
method (https://github.com/ioflo/hio/blob/master/src/hio/base/doing.py#L172) a newTymer
is created using thatNone
limit value as theduration
. Although the constructor works fine, theTymer.start
method tries to add this duration as afloat
(https://github.com/ioflo/hio/blob/6c1670a011e3c7b30bf419376498d5ae0344e8a5/src/hio/base/tyming.py#L247)