Search
Write a publication
Pull to refresh
0
0
Send message

Долбаный хабр. Я хотел написпть, что всместо обычного time.Sleep(jitter) я бы предпочел
select {
case <-ctx.Done(): break
case <-time.After(jitter):
}

чтобы не ждать завершения слипа

Прикольно, но я бы добавил вместо time.Sleep()

Information

Rating
Does not participate
Registered
Activity