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
F14047930: D15799.id38064.diff
Thu, Nov 14, 5:51 AM
F14045169: D15799.id38064.diff
Wed, Nov 13, 1:54 AM
F14018208: D15799.id38059.diff
Tue, Nov 5, 6:06 AM
F13997388: D15799.id.diff
Thu, Oct 24, 4:08 AM
F13995335: D15799.id38059.diff
Wed, Oct 23, 12:16 PM
F13972527: D15799.diff
Oct 17 2024, 7:34 PM
Unknown Object (File)
Oct 12 2024, 11:16 PM
Unknown Object (File)
Sep 28 2024, 2:46 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
Branch
timeout1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 11933
Build 14999: Run Core Tests
Build 14998: arc lint + arc unit

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.