mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 18:26:08 -04:00
Respect use_frozen_dicts option in workers
This commit is contained in:
parent
d24197bead
commit
24772ba56e
6 changed files with 22 additions and 0 deletions
|
@ -36,6 +36,8 @@ from synapse.util.manhole import manhole
|
|||
from synapse.util.rlimit import change_resource_limit
|
||||
from synapse.util.versionstring import get_version_string
|
||||
|
||||
from synapse import events
|
||||
|
||||
from twisted.internet import reactor, defer
|
||||
from twisted.web.resource import Resource
|
||||
|
||||
|
@ -239,6 +241,8 @@ def start(config_options):
|
|||
|
||||
setup_logging(config.worker_log_config, config.worker_log_file)
|
||||
|
||||
events.USE_FROZEN_DICTS = config.use_frozen_dicts
|
||||
|
||||
if config.start_pushers:
|
||||
sys.stderr.write(
|
||||
"\nThe pushers must be disabled in the main synapse process"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue