mirror of
https://github.com/element-hq/synapse
synced 2024-08-16 15:50:52 +00:00
Refactor
This commit is contained in:
parent
7cd34512d8
commit
f68e4cf690
1 changed files with 4 additions and 9 deletions
|
@ -211,12 +211,7 @@ def main():
|
|||
or worker_config("pid_file")
|
||||
or pidfile
|
||||
)
|
||||
workers.append(Worker(
|
||||
"synapse.app.homeserver",
|
||||
worker_configfile,
|
||||
worker_pidfile,
|
||||
worker_config.get("synctl_cache_factor") or cache_factor,
|
||||
))
|
||||
worker_cache_factor = worker_config.get("synctl_cache_factor") or cache_factor
|
||||
else:
|
||||
worker_pidfile = worker_config["worker_pid_file"]
|
||||
worker_daemonize = worker_config["worker_daemonize"]
|
||||
|
|
Loading…
Reference in a new issue