projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Passwörter: Hash-Verfahren PBKDF2 unterstützen und als Standard nutzen
[kivitendo-erp.git]
/
scripts
/
task_server.pl
diff --git
a/scripts/task_server.pl
b/scripts/task_server.pl
index
47fe595
..
2fd93de
100755
(executable)
--- a/
scripts/task_server.pl
+++ b/
scripts/task_server.pl
@@
-274,6
+274,8
@@
sub run_once_for_all_clients {
sub gd_run {
while (1) {
sub gd_run {
while (1) {
+ $SIG{'ALRM'} = 'IGNORE';
+
run_once_for_all_clients();
debug("Sleeping");
run_once_for_all_clients();
debug("Sleeping");
@@
-282,7
+284,8
@@
sub gd_run {
my $seconds = 60 - (localtime)[0];
if (!eval {
my $seconds = 60 - (localtime)[0];
if (!eval {
- local $SIG{'ALRM'} = sub {
+ $SIG{'ALRM'} = sub {
+ $SIG{'ALRM'} = 'IGNORE';
debug("Got woken up by SIGALRM");
die "Alarm!\n"
};
debug("Got woken up by SIGALRM");
die "Alarm!\n"
};