[Koha-bugs] [Bug 16758] Caching issues in scripts running in daemon mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 18 14:26:57 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16758

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Something like:

@@ -242,6 +243,7 @@ my $tester = XML::LibXML->new();
 if ($daemon_mode) {
     while (1) {
         # For incremental updates, skip the update if the updates are locked
+        Koha::Cache->flush_L1_cache;
         if (_flock($LockFH, LOCK_EX|LOCK_NB)) {
             do_one_pass() if ( zebraqueue_not_empty() );
             _flock($LockFH, LOCK_UN);

(+ use Koha::Cache)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list