Minor improvements and version bumps
This commit is contained in:
@ -156,7 +156,7 @@ class JdbcInventory(config: JdbcConfig) : JdbcHelper(config), Inventory {
|
||||
}
|
||||
|
||||
for (c in cache.values) {
|
||||
c.entries.removeIf { e -> e.value < now - 5 * MINUTE }
|
||||
c.entries.removeAll { e -> e.value < now - 5 * MINUTE }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -235,7 +235,6 @@ class JdbcMessageRepository(private val config: JdbcConfig) : AbstractMessageRep
|
||||
}
|
||||
}
|
||||
|
||||
@Throws(SQLException::class, IOException::class)
|
||||
private fun update(connection: Connection, message: Plaintext) {
|
||||
connection.prepareStatement(
|
||||
"UPDATE Message SET iv=?, type=?, sender=?, recipient=?, data=?, ack_data=?, sent=?, received=?, " +
|
||||
|
Reference in New Issue
Block a user