|
Lines 92-97
try {
Link Here
|
| 92 |
|
92 |
|
| 93 |
my $pm = Parallel::ForkManager->new($max_processes); |
93 |
my $pm = Parallel::ForkManager->new($max_processes); |
| 94 |
|
94 |
|
|
|
95 |
$SIG{ALRM} = sub { |
| 96 |
$pm->reap_finished_children(); |
| 97 |
alarm(1); |
| 98 |
}; |
| 99 |
alarm(1); |
| 100 |
|
| 95 |
if ( $conn ) { |
101 |
if ( $conn ) { |
| 96 |
# FIXME cf note in Koha::BackgroundJob about $namespace |
102 |
# FIXME cf note in Koha::BackgroundJob about $namespace |
| 97 |
my $namespace = C4::Context->config('memcached_namespace'); |
103 |
my $namespace = C4::Context->config('memcached_namespace'); |
| 98 |
- |
|
|