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

(-)a/C4/Context.pm (+2 lines)
Lines 567-572 sub _new_Zconn { Link Here
567
        $o->option(preferredRecordSyntax => $syntax);
567
        $o->option(preferredRecordSyntax => $syntax);
568
        $o->option(elementSetName => $elementSetName) if $elementSetName;
568
        $o->option(elementSetName => $elementSetName) if $elementSetName;
569
        $o->option(databaseName => _common_config($server, 'config') || 'biblios');
569
        $o->option(databaseName => _common_config($server, 'config') || 'biblios');
570
        my $timeout = C4::Context->config('zebra_connection_timeout') || 30;
571
        $o->option(timeout => $timeout);
570
572
571
        # create a new connection object
573
        # create a new connection object
572
        $Zconn= create ZOOM::Connection($o);
574
        $Zconn= create ZOOM::Connection($o);
(-)a/debian/templates/koha-conf-site.xml.in (+1 lines)
Lines 291-296 __END_SRU_PUBLICSERVER__ Link Here
291
 <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
291
 <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
292
 <use_zebra_facets>1</use_zebra_facets>
292
 <use_zebra_facets>1</use_zebra_facets>
293
 <zebra_max_record_size>1024</zebra_max_record_size>
293
 <zebra_max_record_size>1024</zebra_max_record_size>
294
 <zebra_connection_timeout>30</zebra_connection_timeout>
294
 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
295
 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
295
 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
296
 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
296
      Default is: none,fatal,warn.
297
      Default is: none,fatal,warn.
(-)a/etc/koha-conf.xml (-1 / +1 lines)
Lines 108-113 Link Here
108
 <lockdir>__LOCK_DIR__</lockdir>
108
 <lockdir>__LOCK_DIR__</lockdir>
109
 <use_zebra_facets>1</use_zebra_facets>
109
 <use_zebra_facets>1</use_zebra_facets>
110
 <zebra_max_record_size>1024</zebra_max_record_size>
110
 <zebra_max_record_size>1024</zebra_max_record_size>
111
 <zebra_connection_timeout>30</zebra_connection_timeout>
111
 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
112
 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
112
 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
113
 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
113
      Default is: none,fatal,warn.
114
      Default is: none,fatal,warn.
114
- 

Return to bug 31614