cluster

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

commit 81474435978ccfae668ea4e161ec5cec9c00e36c
parent f72073bcf5c86a11c328c3d3170281822f2a4a63
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Tue, 21 Apr 2026 20:12:31 +0200

fix more timeouts

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

Diffstat:
Mapps/talos_cluster/mediawiki/configmap.yaml | 18++++++++++++++++++
Mapps/talos_cluster/mediawiki/route.yaml | 4++--
2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/apps/talos_cluster/mediawiki/configmap.yaml b/apps/talos_cluster/mediawiki/configmap.yaml @@ -97,6 +97,24 @@ data: $wgShowExceptionDetails = true; + # === Import timeouts for large Wikipedia imports === + # Increase PHP execution time for imports + set_time_limit(900); # 15 minutes + ini_set('max_execution_time', 900); + + # Increase socket timeout for fetching remote content + ini_set('default_socket_timeout', 300); + + # Allow imports from Wikipedia and other major sources + $wgImportSources = [ + 'wikipedia' => 'https://en.wikipedia.org', + 'wikipedia_de' => 'https://de.wikipedia.org', + ]; + + # Allow local file imports for bulk operations + $wgImportSources[] = 'interwiki'; + $wgImportAllowAll = true; + # === IP Forwarding from Envoy Gateway === # Trust X-Forwarded-For from Envoy Gateway (pod CIDR and private network) $wgUsePrivateIPs = true; diff --git a/apps/talos_cluster/mediawiki/route.yaml b/apps/talos_cluster/mediawiki/route.yaml @@ -14,5 +14,5 @@ spec: - name: mediawiki port: 80 timeouts: - request: 120s - backendRequest: 0s + request: 900s + backendRequest: 900s