Always start the timer.

This commit is contained in:
Greg Burd 2017-12-11 16:03:52 -05:00
parent 7a470bd5d7
commit 60b040e7a9

View file

@ -96,9 +96,7 @@ public abstract class AbstractUnitOfWork<E extends Exception>
@Override @Override
public synchronized UnitOfWork<E> begin() { public synchronized UnitOfWork<E> begin() {
if (LOG.isInfoEnabled()) {
elapsedTime = Stopwatch.createStarted(); elapsedTime = Stopwatch.createStarted();
}
// log.record(txn::start) // log.record(txn::start)
return this; return this;
} }