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

Timeout in `update_last_ip_addr' #3460

Closed
evazion opened this issue Dec 26, 2017 · 0 comments
Closed

Timeout in `update_last_ip_addr' #3460

evazion opened this issue Dec 26, 2017 · 0 comments

Comments

@evazion
Copy link
Member

evazion commented Dec 26, 2017

PG::QueryCanceled exception raised

ERROR: canceling statement due to statement timeout
app/logical/session_loader.rb:110:in `update_last_ip_addr'
app/logical/session_loader.rb:29:in `load'
app/controllers/application_controller.rb:152:in `set_current_user'

I get the above timeout fairly regularly. My ISP seems to change my IP frequently, so my last IP address is being updated all the time.

evazion added a commit to evazion/danbooru that referenced this issue Dec 27, 2017
Set the user's statement timeout as soon as possible, before updating
anything in the database.
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

No branches or pull requests

1 participant