View | Details | Raw Unified | Return to bug 34470
Collapse All | Expand All

(-)a/misc/workers/background_jobs_worker.pl (-1 / +2 lines)
Lines 135-140 while (1) { Link Here
135
        }
135
        }
136
136
137
        $pm->start and next;
137
        $pm->start and next;
138
        srand();    # ensure each child process begins with a new seed
138
        process_job( $job, $args );
139
        process_job( $job, $args );
139
        $pm->finish;
140
        $pm->finish;
140
141
Lines 152-157 while (1) { Link Here
152
            next unless $args;
153
            next unless $args;
153
154
154
            $pm->start and next;
155
            $pm->start and next;
156
            srand();    # ensure each child process begins with a new seed
155
            process_job( $job, { job_id => $job->id, %$args } );
157
            process_job( $job, { job_id => $job->id, %$args } );
156
            $pm->finish;
158
            $pm->finish;
157
159
158
- 

Return to bug 34470