Skip to content

Commit 595c174

Browse files
committed
Fix generate_workers_map script erroring out
I think this was accidentally removed before. Testing strategy: ``` poetry run generate_workers_map --config-path homeserver.yaml ```
1 parent 1c1d6c2 commit 595c174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

synapse/_scripts/generate_workers_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ def get_registered_paths_for_default(
155155
hs = MockHomeserver(base_config, worker_app)
156156

157157
# TODO We only do this to avoid an error, but don't need the database etc
158+
hs.setup()
158159
registered_paths = get_registered_paths_for_hs(hs)
159-
160160
hs.cleanup()
161161

162162
return registered_paths

0 commit comments

Comments
 (0)