Skip to content

Commit

Permalink
Correct logic in message delivery and directory management (#42)
Browse files Browse the repository at this point in the history
* Logical Error Fixed in delivererers.py inside src and cluster/directories.py

* The Deliverers Module is deprecated and not used by any other module; furthermore, the documentation does not mention this module
  • Loading branch information
Advaitgaur004 authored Jan 21, 2025
1 parent 6325c2e commit 2210d84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 311 deletions.
2 changes: 1 addition & 1 deletion src/dubbo/cluster/directories.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def notify(self, urls: list[URL]) -> None:
# create new invokers
for url in urls:
k = str(url)
if k in old_invokers.items():
if k in old_invokers:
self._invokers[k] = old_invokers[k]
del old_invokers[k]
else:
Expand Down
310 changes: 0 additions & 310 deletions src/dubbo/deliverers.py

This file was deleted.

0 comments on commit 2210d84

Please sign in to comment.