mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-27 12:00:10 +00:00
Correct arguments for Thread constructor
This commit is contained in:
parent
042d7ab5cf
commit
80a1bd72e7
@ -1900,7 +1900,7 @@ class ConfigManager(object):
|
||||
# if the thread is exiting, join it to let it close, just in case
|
||||
if cls._cfgwriter is not None:
|
||||
cls._cfgwriter.join()
|
||||
cls._cfgwriter = threading.Thread(target=cls._sync_to_file, args=fullsync)
|
||||
cls._cfgwriter = threading.Thread(target=cls._sync_to_file, args=(fullsync,))
|
||||
cls._cfgwriter.start()
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user