mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Fixed a deadlock that occurs when running a split network map and doorman. (#470)
This commit is contained in:
parent
3db40bb392
commit
a386e71cbd
@ -138,7 +138,7 @@ class PersistentCertificateSigningRequestStorage(private val database: CordaPers
|
||||
}
|
||||
|
||||
override fun getRequests(requestStatus: RequestStatus): List<CertificateSigningRequest> {
|
||||
return database.transaction {
|
||||
return database.transaction(TransactionIsolationLevel.SERIALIZABLE) {
|
||||
val builder = session.criteriaBuilder
|
||||
val query = builder.createQuery(CertificateSigningRequestEntity::class.java).run {
|
||||
from(CertificateSigningRequestEntity::class.java).run {
|
||||
|
Loading…
Reference in New Issue
Block a user