cache and connection improvements
This commit is contained in:
parent
072930abb2
commit
fb0fc2aec0
3 changed files with 7 additions and 6 deletions
|
@ -225,7 +225,7 @@ public class SEBClientEventAdminServiceImpl implements SEBClientEventAdminServic
|
||||||
private final String sort;
|
private final String sort;
|
||||||
|
|
||||||
private int pageNumber = 1;
|
private int pageNumber = 1;
|
||||||
private final int pageSize = 100;
|
private final int pageSize = 1000;
|
||||||
|
|
||||||
private Collection<ClientEventRecord> nextRecords;
|
private Collection<ClientEventRecord> nextRecords;
|
||||||
|
|
||||||
|
|
|
@ -280,10 +280,11 @@ public class SEBClientConnectionServiceImpl implements SEBClientConnectionServic
|
||||||
return clientConnection;
|
return clientConnection;
|
||||||
} else {
|
} else {
|
||||||
// It seems that this is a request from an other device then the original
|
// It seems that this is a request from an other device then the original
|
||||||
log.error("ClientConnection integrity violation: client connection mismatch: {}",
|
log.warn(
|
||||||
clientConnection);
|
"SEB retired to establish an already established client connection with another IP address. Client adress: {} : {}",
|
||||||
throw new IllegalArgumentException(
|
clientConnection.clientAddress,
|
||||||
"ClientConnection integrity violation: client connection mismatch");
|
clientAddress);
|
||||||
|
return clientConnection;
|
||||||
}
|
}
|
||||||
} else if (!clientConnection.status.clientActiveStatus) {
|
} else if (!clientConnection.status.clientActiveStatus) {
|
||||||
log.error("ClientConnection integrity violation: client connection is not in expected state: {}",
|
log.error("ClientConnection integrity violation: client connection is not in expected state: {}",
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
<key-type>java.lang.String</key-type>
|
<key-type>java.lang.String</key-type>
|
||||||
<value-type>ch.ethz.seb.sebserver.gbl.model.exam.QuizData</value-type>
|
<value-type>ch.ethz.seb.sebserver.gbl.model.exam.QuizData</value-type>
|
||||||
<expiry>
|
<expiry>
|
||||||
<ttl unit="minutes">1</ttl>
|
<ttl unit="minutes">5</ttl>
|
||||||
</expiry>
|
</expiry>
|
||||||
<resources>
|
<resources>
|
||||||
<heap unit="entries">10000</heap>
|
<heap unit="entries">10000</heap>
|
||||||
|
|
Loading…
Reference in a new issue