New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interval supplies < 1ms can get stuck #5820
Comments
From @japhbSee discussion starting at: https://irclog.perlgeek.de/perl6-dev/2016-11-24#i_13623505 In short, if the interval is too short, the supply will stop progressing: 06:54 < jnthn> m: react { whenever Supply.interval(.001) { .say; done |
From @jnthnOn Thu, 24 Nov 2016 07:01:27 -0800, gjb@google.com wrote:
The minimum resolution supported is 1ms. We were thus doing something like ($secs * 1000).Int, which ended up as zero, which is also the value for the repeat interval that means "don't repeat". Thus it only ever spat out one value. Now we round to 1ms in this case, and produce a warning that we don't support resolutions below that. Test added for non-hanging on S17-supply/interval.t. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130168 (status was 'resolved')
Searchable as RT130168$
The text was updated successfully, but these errors were encountered: