Skip to content

Conversation

@KNOXDEV
Copy link
Member

@KNOXDEV KNOXDEV commented Apr 25, 2022

Rather than having a periodic refresh, this just makes it so that challenge channels will only be updated when somebody actually captures a flag, but even then, limited to at most once every two minutes.

Closes #29, minus the scoreboard stuff which will be tackled when scoreboards are tackled (soon).

@KNOXDEV KNOXDEV added enhancement New feature or request must have Required for a milestone labels Apr 25, 2022
@KNOXDEV KNOXDEV added this to the ctfbot 2022 milestone Apr 25, 2022
@KNOXDEV KNOXDEV requested a review from andypeterson2 April 25, 2022 19:59
@KNOXDEV KNOXDEV self-assigned this Apr 25, 2022
Copy link
Contributor

@andypeterson2 andypeterson2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I like the use of the hash map with the timeout.

@KNOXDEV KNOXDEV merged commit 5e685fb into pre-release Apr 25, 2022
@KNOXDEV KNOXDEV deleted the aaron/challenge-refresh branch April 25, 2022 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request must have Required for a milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add periodic refresh for challenge channels and scoreboard

3 participants