Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

fix: use while(true) instead of setTimeout #6

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Apr 15, 2024

Refactor the main loop to avoid using setTimeout for scheduling the next run. We suspect there may be a bug in setTimeout implementation when it's called with no timeout value.

This PR supersedes and closes #5.

Refactor the main loop to avoid using `setTimeout` for scheduling
the next run. We suspect there may be a bug in `setTimeout`
implementation when it's called with no timeout value.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@bajtos bajtos merged commit cf30290 into main Apr 15, 2024
@bajtos bajtos deleted the refactor-main-loop branch April 15, 2024 16:23
@juliangruber
Copy link
Member

https://github.com/filecoin-station/voyager/releases/tag/v1.1.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants