fix #560 : refresh index after storing data

This commit is contained in:
Shinsuke Sugaya 2016-06-23 14:18:53 +09:00
parent 401ba69baf
commit 8598c3b8f2

View file

@ -188,7 +188,9 @@ public class FailureUrlService {
failureUrl.setLastAccessTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
failureUrl.setThreadName(Thread.currentThread().getName());
bhv.insertOrUpdate(failureUrl);
bhv.insertOrUpdate(failureUrl, op -> {
op.setRefresh(true);
});
}
private String getStackTrace(final Throwable t) {