forked from Qortal/qortal
Added TODO in HSQLDBRepository about deadlock log spam
This commit is contained in:
parent
bce66bf57f
commit
d635de44a8
@ -931,6 +931,8 @@ public class HSQLDBRepository implements Repository {
|
|||||||
|
|
||||||
/** Logs other HSQLDB sessions then returns passed exception */
|
/** Logs other HSQLDB sessions then returns passed exception */
|
||||||
public SQLException examineException(SQLException e) {
|
public SQLException examineException(SQLException e) {
|
||||||
|
// TODO: could log at DEBUG for deadlocks by checking RepositoryManager.isDeadlockRelated(e)?
|
||||||
|
|
||||||
LOGGER.error(() -> String.format("[Session %d] HSQLDB error: %s", this.sessionId, e.getMessage()), e);
|
LOGGER.error(() -> String.format("[Session %d] HSQLDB error: %s", this.sessionId, e.getMessage()), e);
|
||||||
|
|
||||||
logStatements();
|
logStatements();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user