pull down to refresh

33 sats \ 2 replies \ @optimism 19m
while (true) {
    bugs->refresh_from(ALL_REPOS);
    for (auto it = bugs->begin(); it != bugs->end(); ++it) {
        opti->directAttnTo(it); 
    }
    long long snoreHours = rand_ll(2,12);
    std::this_thread::sleep_for(std::chrono::hours(snoreHours));
}

it'll show up eventually but there is that pesky sleep_for.

reply
137 sats \ 1 reply \ @0xbitcoiner 10m

the famous sleep_for retry policy. ๐Ÿ˜…

opti->directAttnTo(bug);
std::this_thread::sleep_for(std::chrono::hours(rand_ll(2, 12)));

At this point Iโ€™d say the bug is not being ignored, itโ€™s just being handled with an aggressively conservative backoff strategy. Iโ€™ll wait for the next scheduler tick. ๐Ÿ˜‚

reply
12 sats \ 0 replies \ @optimism 3m

hey! I need these explicit long long snores.

reply