mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-04 13:09:32 +00:00
Remove leaked abstraction topic (pubsub topic) vs. shard
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
This commit is contained in:
parent
d195b5522c
commit
1494ebb96f
@ -35,8 +35,8 @@ proc registerRelayHandler(
|
|||||||
if not alreadySubscribed or not node.legacyAppHandlers.hasKey(shard):
|
if not alreadySubscribed or not node.legacyAppHandlers.hasKey(shard):
|
||||||
node.legacyAppHandlers[shard] = appHandler
|
node.legacyAppHandlers[shard] = appHandler
|
||||||
else:
|
else:
|
||||||
debug "Legacy appHandler already exists for active PubsubTopic, ignoring new handler",
|
debug "Legacy appHandler already exists for active shard, ignoring new handler",
|
||||||
topic = shard
|
shard
|
||||||
|
|
||||||
if alreadySubscribed:
|
if alreadySubscribed:
|
||||||
return false
|
return false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user