mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2024-12-22 14:07:12 +00:00
fixes
This commit is contained in:
parent
763718716d
commit
dcfb66ef6c
@ -3,7 +3,7 @@
|
||||
## 2.3.0
|
||||
|
||||
* `Bot`:
|
||||
* Add option `waitForConnection` in database config
|
||||
* Add option `reconnectOptions` in database config
|
||||
|
||||
## 2.2.0
|
||||
|
||||
|
@ -33,6 +33,7 @@ data class DatabaseConfig(
|
||||
password
|
||||
).also {
|
||||
it.transactionManager.defaultIsolationLevel = Connection.TRANSACTION_SERIALIZABLE // Or Connection.TRANSACTION_READ_UNCOMMITTED
|
||||
it.connector().close()
|
||||
}
|
||||
}.onFailure {
|
||||
logger.e(it)
|
||||
|
Loading…
Reference in New Issue
Block a user