wip
This commit is contained in:
1 parent
419148cd18
commit
7abcc5c56c
75 files changed
+32250
-127794
No files matched your search
@@ -10,8 +10,6 @@ class Supervisorctl
|
||||
|
||||
public static $code = '';
|
||||
|
||||
public static $events = 0;
|
||||
|
||||
public static function start(&$options)
|
||||
{
|
||||
$debug = $options['d'] ?? 0;
|
||||
@@ -49,7 +47,7 @@ class Supervisorctl
|
||||
{
|
||||
$processend = microtime(true);
|
||||
$runtime = round(($processend - self::$starttime) / 60, 3);
|
||||
Supervisor::where('id', self::$code)->update(['runtime' => $runtime, 'events' => self::$events]);
|
||||
Supervisor::where('id', self::$code)->update(['runtime' => $runtime]);
|
||||
if ($options['d']) {
|
||||
Notice::note('spervisor time: '.$runtime.' min', 'g');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user