|
@@ -68,9 +68,9 @@ |
|
|
block discarded – undo |
|
68
|
68
|
$maxWait = max($waits); |
|
69
|
69
|
|
|
70
|
70
|
// Convert all wait times to float |
|
71
|
|
- $waits = array_map(function ($item) { return (int) $item; }, $waits); |
|
|
71
|
+ $waits = array_map(function($item) { return (int) $item; }, $waits); |
|
72
|
72
|
// Skip tasks not wait |
|
73
|
|
- $waits = array_filter($waits, function ($item) { return 0 != $item; }); |
|
|
73
|
+ $waits = array_filter($waits, function($item) { return 0 != $item; }); |
|
74
|
74
|
|
|
75
|
75
|
$reference = $maxWait / 100; |
|
76
|
76
|
|
Please login to merge, or discard this patch.