Revision bc2b5fe6
Von Sven Schöling vor mehr als 5 Jahren hinzugefügt
scripts/task_server.pl | ||
---|---|---|
25 | 25 |
use SL::DBUpgrade2; |
26 | 26 |
use SL::DB::AuthClient; |
27 | 27 |
use SL::DB::BackgroundJob; |
28 |
use SL::Dispatcher; |
|
28 | 29 |
use SL::BackgroundJob::ALL; |
29 | 30 |
use SL::Form; |
30 | 31 |
use SL::Helper::DateTime; |
... | ... | |
331 | 332 |
|
332 | 333 |
clean_before_sleeping(); |
333 | 334 |
|
335 |
if (SL::Dispatcher::_memory_usage_is_too_high()) { |
|
336 |
return; |
|
337 |
} |
|
338 |
|
|
334 | 339 |
my $seconds = 60 - (localtime)[0]; |
335 | 340 |
if (!eval { |
336 | 341 |
$SIG{'ALRM'} = sub { |
Auch abrufbar als: Unified diff
task_server.pl: Speicherlimit beachten
(cherry picked from commit 7fcf2ca9960d160419aa89824cb4fb3a25188ad9)