Bug 17187: Lower the timeout preference from 139 days to 1 day
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 24 Aug 2016 13:45:54 +0000 (15:45 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Sep 2016 14:04:15 +0000 (14:04 +0000)
commit1f4ea9c627eea7b6330bcd8b56004f270afc9386
treeab76eb7866026e15fd8420829efa9ce89d65924d
parentb3b85da7bc6f1a712efb3435d597525ee4bd28cc
Bug 17187: Lower the timeout preference from 139 days to 1 day

Default timeout is now 12000000 seconds == almost 139 days !
Surely, your session will be shorter. But we should lower this
value.
Balancing usability and security, I propose 1d (1 day) now.
Current pref value will be affected only if it is NULL or equal
to the old default.

Test plan:
Check your current value. Optionally change to NULL or 12000000.
Run the dbrev and see what happens.
Beware of cached values while testing or flush the cache.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/Bug_17187_dbrev.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref