]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Dec 2017 15:50:53 +0000 (16:50 +0100)
commitdd2f28fab4853d917cc1c47e8fab5351335171fa
tree79005041c61ae07ff468e1fd7793b7e781e7b295
parentefb28c4af16efbe688322415ae06c6a85fd3454b
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>
(cherry picked from commit b3b86caaa5473ea51dc7223146e4c7cf0db431dc)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/maintenance/touch_all_biblios.pl
misc/maintenance/touch_all_items.pl