JBAS-1554 C/O history logging mods
authorBill Erickson <berickxx@gmail.com>
Thu, 1 Sep 2016 21:23:33 +0000 (17:23 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/sql/schema/deploy/patron-co-history-stage-1.sql

index 2428649..45609ce 100644 (file)
@@ -164,8 +164,8 @@ BEGIN
             );
 
             -- useful for alleviating administrator anxiety.
-            IF circ_counter % 5000 = 0 THEN
-                RAISE NOTICE 'Migrated history for % total circs', circ_counter;
+            IF circ_counter % 10000 = 0 THEN
+                RAISE NOTICE 'Migrated history for % circs', circ_counter;
             END IF;
 
             circ_counter := circ_counter + 1;
@@ -173,8 +173,8 @@ BEGIN
         END LOOP;
 
          -- useful for alleviating administrator anxiety.
-        IF usr_counter % 1000 = 0 THEN
-            RAISE NOTICE 'Migrated history for % total users', usr_counter;
+        IF usr_counter % 500 = 0 THEN
+            RAISE NOTICE 'Migrated history for % users', usr_counter;
         END IF;
 
         usr_counter := usr_counter + 1;