https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43566
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Jonathan Druart <[email protected]> --- You want to sleep for the DB polling or you will search endlessly and overload the server. 122 while (1) { 123 if ($conn) { # STOMP 203 } else { # DB pooling 204 my $jobs = Koha::BackgroundJobs->search( { status => 'new', queue => \@queues } ); 205 while ( my $job = $jobs->next ) { 222 } 223 $pm->reap_finished_children; 224 sleep 10; 225 } -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
