Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoseinaghaei committed Feb 15, 2024
1 parent 0e3fd29 commit c8977a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka_server/broker/file/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class Sync:
_instances_lock = threading.Lock()
_sync_lock = threading.Lock()
_instances = None
_instances = {}

def __new__(cls, partition: str, replica: str):
if f"{partition}-{replica}" not in cls._instances:
Expand Down

0 comments on commit c8977a1

Please sign in to comment.