amonks / run

Go run some tasks!
https://amonks.github.io/run/
Other
19 stars 4 forks source link

seeing the same task running more than once in parallel #123

Closed amonks closed 8 months ago

amonks commented 8 months ago

this shouldn't be allowed to happen:

Screenshot 2024-04-04 at 9 52 05 PM

I don't remember the run_task.go code well enough to know how (or even whether) we intend to prevent this. I see that there is a main loop, which implies single-threadedness, which implies that I was at least thinking about this kind of problem when I wrote it. A bug, perhaps.

amonks commented 8 months ago

introduced in f48d16683ea6aca50f130daaaf19dbb42f3e3459

amonks commented 8 months ago

i see now that the sidebar lists a billion copies of generate, too

Screenshot 2024-04-04 at 10 06 27 PM