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