make logging of insertion speed a little nicer
This commit is contained in:
@@ -121,7 +121,7 @@ public class PerformanceDb implements AutoCloseable {
|
||||
final long duration = end - lastSync;
|
||||
final long entriesPerSecond = (long) (insertionsSinceLastSync / (duration / 1000.0));
|
||||
|
||||
METRICS_LOGGER.debug(String.format(Locale.US, "inserting %d/s ; total: %,d; last: %s",
|
||||
METRICS_LOGGER.debug(String.format(Locale.US, "inserting %,11d/s ; total: %,d; last: %s",
|
||||
entriesPerSecond, count, entry));
|
||||
|
||||
lastSync = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user