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, Dec 15, 8:00 AM
Unknown Object (File)
Thu, Dec 5, 1:34 PM
Unknown Object (File)
Mon, Dec 2, 11:41 AM
Unknown Object (File)
Nov 19 2024, 10:45 AM
Unknown Object (File)
Nov 14 2024, 5:51 AM
Unknown Object (File)
Nov 13 2024, 1:54 AM
Unknown Object (File)
Nov 5 2024, 6:06 AM
Unknown Object (File)
Oct 24 2024, 4:08 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.