Danyc0 / Society-voting-bot

A Discord bot for doing society elections
Apache License 2.0
2 stars 4 forks source link

Ballot paper distribution is very slow #61

Open Danyc0 opened 2 years ago

Danyc0 commented 2 years ago

This can be easily fixed with async tasks I think

Danyc0 commented 2 years ago

Unfortunately it seems like although slightly quicker (maybe?), 3f13b674f4fb42b22b8defbfdf3d964c8857d8e4 didn't actually fix this. Also now it's introduced the bug where the "everyone now has a ballot paper" message arrives before all the ballot papers have arrived. Unfortunately this is hard to debug because it can only be tested when you have 10+ people registered to vote, we could probably use dummy accounts to test it though