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

@ -74,7 +74,7 @@ func (bc *BridgeConfig) setDefaults() {
bc.MaxConnectionAttempts = 3
bc.ConnectionRetryDelay = -1
bc.ReportConnectionRetry = true
bc.ContactWaitDelay = 1
bc.ContactWaitDelay = 30
bc.CallNotices.Start = true
bc.CallNotices.End = true