Use handlers instead of sleeping for startup chat/contact sync

This commit is contained in:
Tulir Asokan
2019-08-25 00:25:29 +03:00
parent f28322d1f7
commit 1490830be2
6 changed files with 56 additions and 24 deletions

View File

@ -75,9 +75,9 @@ bridge:
# Whether or not the bridge should send a notice to the user's management room when it retries connecting.
# If false, it will only report when it stops retrying.
report_connection_retry: true
# Number of seconds to wait for contacts and chats to be sent at startup before syncing.
# If you have lots of chats, it might take more than a second.
contact_wait_delay: 1
# Maximum number of seconds to wait for chats to be sent at startup.
# If this is too low and you have lots of chats, it could cause backfilling to fail.
contact_wait_delay: 30
# Whether or not to send call start/end notices to Matrix.
call_notices: