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

Bot should rescrape election page for winners during election end #74

Closed
samliew opened this issue Aug 24, 2021 · 2 comments · Fixed by #82
Closed

Bot should rescrape election page for winners during election end #74

samliew opened this issue Aug 24, 2021 · 2 comments · Fixed by #82
Labels
feature Features and enhancements

Comments

@samliew
Copy link
Owner

samliew commented Aug 24, 2021

Right now, the bot only checks elections for changes every scrapeIntervalMins minutes (default: 5).

This means when an election ends, the bot could take an additional 5 minutes to announce the winners.

This should be automated to rescrape 30 seconds (or a period allowing for tallying of votes) following the end of the election since SO has automated the elections.

This may complicate #60

@samliew samliew added the feature Features and enhancements label Aug 24, 2021
@samliew samliew changed the title Bot should try to scrape election page for winners during election end Bot should rescrape election page for winners during election end Aug 24, 2021
@samliew
Copy link
Owner Author

samliew commented Aug 25, 2021

Tested on academia's election, results took 14min to announce

@Oaphi
Copy link
Collaborator

Oaphi commented Aug 26, 2021

Tested on academia's election, results took 14min to announce

yeah, that's a bit on the high end - I see your PR already addresses that, nice! Do we have any way to know if the election ended live, btw? I assume we don't, but maybe worth looking into since SE is going the automation route with elections.

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

Successfully merging a pull request may close this issue.

2 participants