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
F15492685: D15799.id38064.diff
Sat, Apr 12, 5:09 PM
F15484706: D15799.diff
Wed, Apr 9, 7:41 PM
F15473807: D15799.id38064.diff
Sun, Apr 6, 1:51 AM
F15454323: D15799.id38059.diff
Sat, Mar 29, 5:56 PM
F15434425: D15799.id38064.diff
Mar 25 2025, 3:33 AM
F15417872: D15799.id38059.diff
Mar 20 2025, 7:05 PM
F15415949: D15799.id38064.diff
Mar 20 2025, 8:31 AM
F15414424: D15799.id.diff
Mar 20 2025, 12:34 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.