Page MenuHomePhabricator

Prevent web queries from running for more than 30 seconds
ClosedPublic

Authored by epriestley on Apr 26 2016, 12:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 10, 9:31 PM
Unknown Object (File)
Feb 19 2024, 3:36 AM
Unknown Object (File)
Feb 19 2024, 3:36 AM
Unknown Object (File)
Feb 19 2024, 3:36 AM
Unknown Object (File)
Feb 19 2024, 3:24 AM
Unknown Object (File)
Feb 14 2024, 5:34 AM
Unknown Object (File)
Jan 26 2024, 7:05 AM
Unknown Object (File)
Dec 27 2023, 6:31 PM
Subscribers
None

Details

Summary

Ref T10849. This enforces a global 30-second per-query time limit for anything not coming from the CLI.

If we run into another issue with MySQL hanging in the future, this should prevent it from being nearly as bad as it was.

Test Plan
  • Set value to 0, verified the UI threw an exception immediately.
  • Set value back to 30, browsed around a bunch of pages.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Prevent web queries from running for more than 30 seconds.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Apr 26 2016, 2:22 PM
This revision was automatically updated to reflect the committed changes.