cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit f168e664d08fb312c78fa6f8d98590173ed795b6
parent 59d86df92c8ca93c1240969f5a4124f884921442
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Fri, 17 Apr 2026 19:54:04 +0200

more fixes

Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>

Diffstat:
Mapps/talos_cluster/mediawiki/configmap.yaml | 14+++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/apps/talos_cluster/mediawiki/configmap.yaml b/apps/talos_cluster/mediawiki/configmap.yaml @@ -63,10 +63,18 @@ data: $wgSessionCacheType = 'redis'; $wgParserCacheType = 'redis'; - # APCu for localisation cache (in-process, fastest for single-language wiki) - $wgLocalisationCacheConf = ['store' => 'accel']; +# Run jobs via CronJob, not on page requests + # Localisation cache — 'array' stores PHP static arrays in $wgCacheDirectory, + # picked up by OPcache on subsequent requests (fastest option) + $wgCacheDirectory = '/tmp/mediawiki-cache'; + $wgLocalisationCacheConf = [ + 'class' => LocalisationCache::class, + 'store' => 'array', + 'storeClass' => false, + 'storeDirectory' => false, + 'manualRecache' => false, + ]; - # Run jobs via CronJob, not on page requests $wgJobRunRate = 0; # === Spam prevention ===