remove check for wait since it is defined by default now and add it to loading auths...
[migration-tools.git] / eg_staged_bib_overlay
index 4df0cde..5ab56b3 100755 (executable)
@@ -404,7 +404,7 @@ sub handle_load_bibs {
             )
         });
         $dbh->commit;
-        sleep $wait if ($wait);
+        sleep $wait;
     }
 }
 
@@ -594,6 +594,7 @@ sub handle_load_new_auths {
             )
         });
         $dbh->commit;
+        sleep $wait;
     }
 }