Update dynamic configuration setup and version number

This commit is contained in:
Andras Bacsai
2024-03-27 18:41:19 +01:00
parent cfbee40ecd
commit 833a4b9367
4 changed files with 10 additions and 8 deletions

View File

@@ -34,11 +34,13 @@ class Init extends Command
$this->cleanup_stucked_helper_containers();
$this->call('cleanup:queue');
$this->call('cleanup:stucked-resources');
try {
$server = Server::find(0)->first();
$server->setupDynamicProxyConfiguration();
} catch (\Throwable $e) {
echo "Could not setup dynamic configuration: {$e->getMessage()}\n";
if (!isCloud()) {
try {
$server = Server::find(0)->first();
$server->setupDynamicProxyConfiguration();
} catch (\Throwable $e) {
echo "Could not setup dynamic configuration: {$e->getMessage()}\n";
}
}
$settings = InstanceSettings::get();