Skip to content

Commit

Permalink
Increase memcache timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Nov 10, 2023
1 parent 05b6bca commit ddcfbbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GlobalCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// Effectively disable the retry timeout
'retry_timeout' => -1,
'loggroup' => 'memcached',
// 500ms, in microseconds
'timeout' => 0.25 * 1e6,
// 1000ms, in microseconds
'timeout' => 1.0 * 1e6,
];

// mem131
Expand All @@ -32,7 +32,7 @@
'retry_timeout' => -1,
'loggroup' => 'memcached',
// 500ms, in microseconds
'timeout' => 0.25 * 1e6,
'timeout' => 1.0 * 1e6,
];

$wgObjectCaches['mysql-multiwrite'] = [
Expand Down Expand Up @@ -147,7 +147,7 @@
'retry_timeout' => -1,
'loggroup' => 'memcached',
// 500ms, in microseconds
'timeout' => 0.5 * 1e6,
'timeout' => 1.0 * 1e6,
];

$redisServerIP = '[2a10:6740::6:406]:6379';
Expand Down

0 comments on commit ddcfbbe

Please sign in to comment.