mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
The logic in my recent late start bridge PR was wrong. This doesn't affect embedded bridges, but for external bridges the state doesn't reset correctly on bridge restart. (#3301)
This commit is contained in:
parent
086b9daa6e
commit
0812329aaf
@ -322,6 +322,7 @@ class P2PMessagingClient(val config: NodeConfiguration,
|
||||
}
|
||||
|
||||
val queues = session.addressQuery(SimpleString("$PEERS_PREFIX#")).queueNames
|
||||
knownQueues.clear()
|
||||
for (queue in queues) {
|
||||
val queueQuery = session.queueQuery(queue)
|
||||
if (!config.lazyBridgeStart || queueQuery.messageCount > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user