mirror of
https://github.com/element-hq/synapse.git
synced 2025-11-22 00:05:29 -05:00
Fix indentation of sighup handler calling code (#19060)
This commit is contained in:
parent
ec7554b768
commit
a4f9274107
1
changelog.d/19060.bugfix
Normal file
1
changelog.d/19060.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix a bug introduced in 1.136.0 that would prevent Synapse from being able to be `reload`-ed more than once when running under systemd.
|
||||
@ -591,9 +591,9 @@ async def start(hs: "HomeServer", freeze: bool = True) -> None:
|
||||
# we're not using systemd.
|
||||
sdnotify(b"RELOADING=1")
|
||||
|
||||
for sighup_callbacks in _instance_id_to_sighup_callbacks_map.values():
|
||||
for func, args, kwargs in sighup_callbacks:
|
||||
func(*args, **kwargs)
|
||||
for sighup_callbacks in _instance_id_to_sighup_callbacks_map.values():
|
||||
for func, args, kwargs in sighup_callbacks:
|
||||
func(*args, **kwargs)
|
||||
|
||||
sdnotify(b"READY=1")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user