Refactor server setting model to restart Sentinel on specific config changes

This commit is contained in:
Andras Bacsai
2024-10-22 14:10:52 +02:00
parent 1f221d9791
commit 6e305a33de

View File

@@ -78,7 +78,6 @@ class ServerSetting extends Model
$setting->isDirty('sentinel_metrics_history_days') ||
$setting->isDirty('sentinel_push_interval_seconds')
) {
loggy('Restarting Sentinel');
$setting->server->restartSentinel();
}
});