Files
kde-linux/uploader
Harald Sitter 4c69b76046 uploader: do not get stuck when all channels are full
because we fed the calcs channel from the main thread we'd eventually
get stuck on the calcs workers waiting for space in the results channel
but there'd never be space because the results are processed on the main
thread and that is busy feeding calcs ... instead buffer the channels
and also make sure to feed them from a goroutine so we are starting
processing results while still producing calcs.

I feel like this may be an anti pattern and maybe one should put
everything in a routine and synchronize them all in the main thread.
would prevent this sort of nonesense at least
2026-02-17 19:57:13 +01:00
..
2026-02-14 00:36:31 +01:00
2026-02-14 00:36:31 +01:00
2026-02-14 00:36:31 +01:00