holepunchto / hyperdrive

Hyperdrive is a secure, real time distributed file system
Apache License 2.0
1.86k stars 135 forks source link

Check if waiting for clear before looping #235

Closed joehand closed 5 years ago

joehand commented 5 years ago

Addressed the behavior seen in https://gist.github.com/joehand/ad9d3a3dc7f7d7ab611307d396025fbe.

Not sure if this is fixing the CPU getting pegged issue...

Also probably related to the TODO in here =) and maybe a cleaner way to do this.

joehand commented 5 years ago

See #236