Homec4science

Prevent web queries from running for more than 30 seconds

Authored by epriestley <git@epriestley.com> on Apr 26 2016, 14:14.

Description

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

Details

Committed
epriestley <git@epriestley.com>Apr 26 2016, 16:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2c870bad8688: Document how to register cluster devices with Almanac
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0630fef9fc36: Prevent web queries from running for more than 30 seconds (authored by epriestley <git@epriestley.com>).Apr 26 2016, 16:59