Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple questions asked in rapid succession #21

Open
MadnessExpress opened this issue Nov 28, 2016 · 3 comments
Open

Multiple questions asked in rapid succession #21

MadnessExpress opened this issue Nov 28, 2016 · 3 comments
Labels

Comments

@MadnessExpress
Copy link
Contributor

We had the bot ask us two questions in rapid succession. I will attach a screenshot of it.
double question

@z64 z64 added the bug label Nov 28, 2016
@z64
Copy link
Owner

z64 commented Nov 28, 2016

Unfortunately I can't debug your instance of the bot. You will have to send me the database file with the active game still in it.

@MadnessExpress
Copy link
Contributor Author

dah.zip

@z64
Copy link
Owner

z64 commented Nov 28, 2016

Just to document my thoughts here -

I have a sneaking suspicion what the issue might be a concurrency problem
Basically, theoretically, if two or more people picked cards at the same exact time, spawning two event threads, it might go into a state where next_round! is executed twice (which presents a new question)

Going to give this a try later rigging some bots to pick cards at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants