Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

Rakudo 2019.10 is now relocatable, use that to avoid locks #366

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

Code: https://github.com/perl6/whateverable/blob/2badfc01f4e320d0db3d4c01dfe1075634c92eaa/lib/Whateverable/Running.pm6#L40-L74

AlexDaniel commented 1 year ago

I'm not sure if this is needed. Each bot has its own /tmp directory, so bots don't compete for the builds. It is possible, however, that multiple people will try to run things on different channels (or in private messages), so maybe avoiding locks within the same bot is still something that needs to be done.