1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-17 17:28:42 +01:00
phorge-phorge/src/infrastructure/storage
epriestley 0630fef9fc Prevent web queries from running for more than 30 seconds
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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10849

Differential Revision: https://secure.phabricator.com/D15799
2016-04-26 07:59:09 -07:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
configuration Extend from Phobject 2015-06-15 18:02:27 +10:00
lisk Prevent web queries from running for more than 30 seconds 2016-04-26 07:59:09 -07:00
management Correct RepositoryURI schema and propagate adjust exit code correctly 2016-04-18 08:11:22 -07:00
patch Rename XHPAST database 2015-11-14 21:41:28 +11:00
schema Record how long storage patches took to apply 2015-10-24 05:58:44 -07:00