Skip to content

Commit 06dcbd1

Browse files
authored
Fix cluster config call to not refresh config (#11)
1 parent 25073fd commit 06dcbd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Orch/OrchSiteProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getClusterConfig(OrchCluster $cluster): array
134134
$clusterConfig = $this->cache->get($cacheKey, function (ItemInterface $item) use ($cluster) {
135135
$item->expiresAfter(60 * 5); // 5 minute cache time.
136136

137-
$response = $cluster->getClient()->get("/cluster/configuration");
137+
$response = $cluster->getClient()->get("/cluster/configuration?refreshConfig=false");
138138
return $response->getBody()["configuration"] ?? [];
139139
});
140140
return $clusterConfig;

0 commit comments

Comments
 (0)