Remove an unneeded log entry
This commit is contained in:
parent
82e2aadf86
commit
0f50eae640
|
@ -81,14 +81,15 @@ public class StaleSearchDeletingSvcImpl implements IStaleSearchDeletingSvc {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
long total = tt.execute(new TransactionCallback<Long>() {
|
if (count > 0) {
|
||||||
@Override
|
long total = tt.execute(new TransactionCallback<Long>() {
|
||||||
public Long doInTransaction(TransactionStatus theStatus) {
|
@Override
|
||||||
return mySearchDao.count();
|
public Long doInTransaction(TransactionStatus theStatus) {
|
||||||
}
|
return mySearchDao.count();
|
||||||
});
|
}
|
||||||
|
});
|
||||||
ourLog.info("Deleted {} searches, {} remaining", count, total);
|
ourLog.info("Deleted {} searches, {} remaining", count, total);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -440,7 +440,7 @@ public abstract class BaseHapiTerminologySvc implements IHapiTerminologySvc {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Scheduled(fixedRate = 5000)
|
@Scheduled(fixedRate = 5000)
|
||||||
@Transactional(propagation = Propagation.NOT_SUPPORTED)
|
@Transactional(propagation = Propagation.NEVER)
|
||||||
@Override
|
@Override
|
||||||
public synchronized void saveDeferred() {
|
public synchronized void saveDeferred() {
|
||||||
if (!myProcessDeferred) {
|
if (!myProcessDeferred) {
|
||||||
|
|
Loading…
Reference in New Issue