Mikhail Khorkov

Results 26 comments of Mikhail Khorkov

Tests in PR https://github.com/Raku/roast/pull/817

@lizmat Imagine, the app which receives emails and reply on it. Mail server allow us only 15 outbox mails per minute. We create scheduled task, which takes 15 emails and...

> Isn't this also possible with running an interval of 1 minute? And only send 15 mails per invocation? If sending 15 email took 80 seconds, then next task execution...

We send 10 email in 60 seconds, then 5 more for 20 seconds. Next task starts and we send 15 more for the first 40 seconds - fail.

Another example from the real life. After each shower the room must be ventilate for 10 minutes. Scheduled task - take a person and escort to the bathroom. Task ends...

`Thread.queue` or `start sleep` is good, but we have `interval` instead of using `$*SCHEDULER.cue`. I'm not a native English speaker, but I think 'interval between tap' sounds good enough. I...

@vrurg yes, it could be end with Promise.in. But I see it as coupling a logic of a task itself with a logic of the task management. There are many...

Yes, I agree that less the core size is better.

I do not see any difference between jnthn's patch and `f029ac8`...