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

Admin tools update #34

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

krossower1
Copy link

@krossower1 krossower1 commented Sep 28, 2024

Joint Pull Request with (ynoproject/forest-orb#575)
First time coding in Go so might be buggy

return
}

tempBan := time.NewTimer(duration * 60 * time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

This will cause the HTTP responder to hang without giving a response. You might want to set up a timer to be called later instead, push notifications are already doing this so you can refer to it.

@notdistorted notdistorted linked an issue Oct 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timed penalties
2 participants