-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
When using synctl with workers, don't start the main synapse automatically #2774
Conversation
819f966
to
7cd3451
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise lgtm
synapse/app/synctl.py
Outdated
assert worker_daemonize, "In config %r: expected '%s' to be True" % ( | ||
worker_configfile, "worker_daemonize") | ||
worker_cache_factor = worker_config.get("synctl_cache_factor") | ||
workers.append(Worker( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can share this between the two branches provided you initialise worker_cache_factor
correctly.
Right, sorry, I managed to mess up testing this. Two sticking points:
For 1 I've made synctl complain if it sees |
I can't help thinking it would be better if |
Yes, or even to not have the duplication between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmkay then
No description provided.