We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7edcd2 commit f74c967Copy full SHA for f74c967
synapse/handlers/device.py
@@ -197,6 +197,12 @@ def __init__(self, hs: "HomeServer"):
197
server_name=self.server_name,
198
func=self._delete_stale_devices,
199
)
200
+ # Beep: run this immediately since looping_call waits 24h after pod start
201
+ run_as_background_process(
202
+ "delete_stale_devices",
203
+ server_name=self.server_name,
204
+ func=self._delete_stale_devices,
205
+ )
206
207
async def _delete_stale_devices(self) -> None:
208
"""Background task that deletes devices which haven't been accessed for more than
0 commit comments