mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(PHP): Noop update of metrics
It is causing very high CPU usage on aur.archlinux.org so nooping until the issue can be fixed.
This commit is contained in:
parent
901b24b013
commit
acab5ac399
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ $query_string = $_SERVER['QUERY_STRING'];
|
|||
|
||||
// If no options.cache is configured, we no-op metric storage operations.
|
||||
$is_cached = defined('EXTENSION_LOADED_APC') || defined('EXTENSION_LOADED_MEMCACHE');
|
||||
if ($is_cached)
|
||||
if (false && $is_cached)
|
||||
register_shutdown_function('update_metrics');
|
||||
|
||||
if (config_get_bool('options', 'enable-maintenance') && (empty($tokens[1]) || ($tokens[1] != "css" && $tokens[1] != "images"))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue