Rework crash polling, using optimised scope queries
This commit is contained in:
@@ -33,11 +33,16 @@
|
||||
@foreach($uncollected as $o)
|
||||
<tr>
|
||||
<td>{{ $o->zone->domain->name }}</td>
|
||||
<td><a href="{{ url('system/addedit',$o->system_id) }}">{{ $o->system->name }}</a></td>
|
||||
<td>
|
||||
<a href="{{ url('system/addedit',$o->system_id) }}">{{ $o->system->name }}</a>
|
||||
@if (($x=$o->parent()) && ($x->id !== $o->id))
|
||||
<br><small>[via <a href="{{ url('system/addedit',$x->system_id) }}">{{ $x->ftn4d }}</a>]</small>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $o->ftn4d }}</td>
|
||||
<td class="text-right">{{ number_format($o->e ?? 0) }}</td>
|
||||
<td class="text-right">{{ number_format($o->n ?? 0) }}</td>
|
||||
<td class="text-right">{{ number_format($o->f ?? 0) }}</td>
|
||||
<td class="text-right">{{ number_format($o->uncollected_echomail ?? 0) }}</td>
|
||||
<td class="text-right">{{ number_format($o->uncollected_netmail ?? 0) }}</td>
|
||||
<td class="text-right">{{ number_format($o->uncollected_files ?? 0) }}</td>
|
||||
<td>{{ $o->system->last_session?->format('Y-m-d H:i') }}</td>
|
||||
<td>{{ is_null($o->system->pollmode) ? 'HOLD' : ($o->system->pollmode ? 'CRASH' : 'DAILY') }}</td>
|
||||
<td>{{ $o->system->autohold ? 'YES' : 'NO' }}</td>
|
||||
|
Reference in New Issue
Block a user