Rename reload_config to reload_extensions to make clear what it really does
This commit is contained in:
parent
e840ec0afc
commit
9a84809984
@ -61,7 +61,7 @@ exit Disconnect
|
||||
elif data == "queues":
|
||||
self.request.sendall(("\n".join(["{} {}".format(name, queue.qsize()) for name, queue in self.fp.queues.items()]) + "\n").encode("utf-8"))
|
||||
elif data == "reload":
|
||||
self.fp.reload_config()
|
||||
self.fp.reload_extensions()
|
||||
elif data.startswith("claim"):
|
||||
data = data.split(" ")
|
||||
if len(data) == 3:
|
||||
|
@ -76,7 +76,7 @@ class FieldPOC:
|
||||
|
||||
logger.info("started components")
|
||||
|
||||
def reload_config(self):
|
||||
def reload_extensions(self):
|
||||
self._load_extensions()
|
||||
self.queue_all({"type": "sync"})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user