sleep when getting a database error in price multiplicato service
@@ -166,6 +166,11 @@ public void run() {
Thread.currentThread().interrupt();
} catch (IOException ex) {
LOG.error(ex, ex);
+ try {
+ Thread.sleep(500);
+ } catch (InterruptedException ex1) {
+ Thread.currentThread().interrupt();
+ }
}
}
LOG.info("Quota scheduler thread is exiting gracefully");
