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 47c0161 commit 31b32b3Copy full SHA for 31b32b3
synapse/rest/synapse/mas/devices.py
@@ -197,7 +197,9 @@ async def _async_render_POST(
197
to_add = target_device_list - current_devices_list
198
to_delete = current_devices_list - target_device_list
199
200
- # Log what we're about to do, as this can be an expensive operation
+ # Log what we're about to do to make it easier to debug if it stops
201
+ # mid-way, as this can be a long operation if there are a lot of devices
202
+ # to delete or to add.
203
if to_add and to_delete:
204
logger.info(
205
"Syncing %d devices for user %s will add %d devices and delete %d devices",
0 commit comments