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

            Bug ID: 23377
           Summary: bulkmarcimport.pl disables syspref caching
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Tools
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

bulkmarcimport.pl disables syspref caching in order to explicitly set
CataloguingLog and AuthoritiesLog to false (in order to boost performance,
according to the notes).  However, doing so results in numerous other syspref
lookups over the course of the script, increasing runtime by about 33%. 
Sysprefs looked up during a plain, no-options import include:

1. DefaultClassificationSource    
2. TimeFormat
3. dateformat
4. CataloguingLog
5. BiblioAddsAuthorities
6. marcflavour
7. SearchEngine
8. OAI-PMH:AutoUpdateSets

While disabling additional logging on import is a good thing for performance,
these additional DB queries offset that gain.  Using the ENV variable override
option may be a better way to temporarily disable these logs for the course of
the script, whilst still keeping all the other sysprefs cached.

-- 
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]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to