Bug 19190: Silly calculation of average time in touch_all scripts
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 28 Aug 2017 09:59:19 +0000 (11:59 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 19:15:48 +0000 (16:15 -0300)
commitb3b86caaa5473ea51dc7223146e4c7cf0db431dc
treefa314a1c43fee8febfad019c832e4d29b19427db
parenta18b12ea7f52d5d017cb0f74723cbb50b6d04749
Bug 19190: Silly calculation of average time in touch_all scripts

When you want to calculate average time, do not divide count by time :)

Test plan:
Run the script with a where condition and verbose option and see that
the average time is meaningful.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/maintenance/touch_all_biblios.pl
misc/maintenance/touch_all_items.pl