1
0
Fork 0
Commit Graph

2 Commits

Author SHA1 Message Date
Michał Rudowicz 64f4930b4e Avoid possible race condition with waitgroups
Looks like calling wg.Add(1) from a goroutine can cause a race condition
with wg.Wait() - can be easily avoided by calling Add() before the
subroutine is created.
2025-01-02 13:40:25 +01:00
Michał Rudowicz eca8fb90ba Option to store a memory profile once a day
References https://todo.sr.ht/~michalr/hswro-alarm-bot/10
2024-04-06 12:08:41 +02:00