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
F15417872: D15799.id38059.diff
Thu, Mar 20, 7:05 PM
F15415949: D15799.id38064.diff
Thu, Mar 20, 8:31 AM
F15414424: D15799.id.diff
Thu, Mar 20, 12:34 AM
F15408657: D15799.diff
Wed, Mar 19, 12:38 AM
F15385539: D15799.id38059.diff
Fri, Mar 14, 10:49 PM
Unknown Object (File)
Fri, Feb 28, 5:47 AM
Unknown Object (File)
Feb 9 2025, 1:00 PM
Unknown Object (File)
Feb 9 2025, 1:25 AM
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.