Taking a break for more than 251 minutes by calling `coffee_break!` for multiple times
Closed this issue · 3 comments
ActiveTK commented
Taking a break for more than 251 minutes by calling `coffee_break!` for multiple times
ActiveTK commented
In spite of there are some limits of break time, we can take a break for more than 251 minutes by calling coffee_break!
for multiple times.
Here is a example:
fn work_stuff() {
// I can take a break for 250 minutes × 100 ~ 416 hours
for n in 1..100 {
coffee_break!(250 minutes);
}
}
ActiveTK commented
I'm sorry for not providing a description of the issue. I'll rewrite it.
radekvit commented
You can take a longer break by adding multiple coffee breaks, but that's allowed. It won't add a longer break with your code though, that's still just a single 250 minute break