Rename reload_config to reload_extensions to make clear what it really does

This commit is contained in:
clerie 2022-08-27 16:16:13 +02:00
parent e840ec0afc
commit 9a84809984
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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"})