feat: log drain (wip)
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Actions\Server\InstallLogDrain;
|
||||
use App\Actions\Server\InstallNewRelic;
|
||||
use App\Enums\ProxyStatus;
|
||||
use App\Enums\ProxyTypes;
|
||||
use App\Notifications\Server\Revived;
|
||||
@@ -296,6 +298,10 @@ class Server extends BaseModel
|
||||
// }
|
||||
return true;
|
||||
}
|
||||
public function logDrain($type)
|
||||
{
|
||||
InstallLogDrain::run($this, $type);
|
||||
}
|
||||
public function isFunctional()
|
||||
{
|
||||
return $this->settings->is_reachable && $this->settings->is_usable;
|
||||
|
||||
Reference in New Issue
Block a user