Always start the timer.
This commit is contained in:
parent
7a470bd5d7
commit
60b040e7a9
1 changed files with 1 additions and 3 deletions
|
@ -96,9 +96,7 @@ public abstract class AbstractUnitOfWork<E extends Exception>
|
|||
|
||||
@Override
|
||||
public synchronized UnitOfWork<E> begin() {
|
||||
if (LOG.isInfoEnabled()) {
|
||||
elapsedTime = Stopwatch.createStarted();
|
||||
}
|
||||
elapsedTime = Stopwatch.createStarted();
|
||||
// log.record(txn::start)
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue