From cd326a34ba1ad1b661004d81fcb153acde441475 Mon Sep 17 00:00:00 2001 From: Haylan Date: Tue, 7 Jul 2026 13:32:17 +0200 Subject: [PATCH] chore(controller): lower set_time_limit now that fetching is concurrent Providers fetch in parallel now (cost ~= max, not sum), so the old 90s stopgap for the 3-sequential-providers-plus-pagination worst case can come back down toward the 30s default, with headroom for pagination and per-request HTTP timeouts. --- src/Controller/GraphController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controller/GraphController.php b/src/Controller/GraphController.php index ccb1786..18b520f 100644 --- a/src/Controller/GraphController.php +++ b/src/Controller/GraphController.php @@ -53,6 +53,7 @@ final class GraphController $svg = $this->cache->get($cacheKey, function (ItemInterface $item) use ($theme, &$cacheMiss): string { $cacheMiss = true; $item->expiresAfter(3600); + set_time_limit(30); // ponytail: providers fetch concurrently now (cost ~= max, not sum); GitLab pagination + per-request HTTP timeout (framework.yaml) still need headroom over the 30s default return $this->renderer->render($this->aggregator->aggregate(), $theme); });