Update dynamic configuration setup and version number

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

No files matched your search

+7 -5
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();