Skip to content

Commit

Permalink
Increase retries before sending transient disconnect notices
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed May 10, 2024
1 parent 3f5e29d commit e19e48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var (
)

const MinFullReconnectInterval = 1 * time.Hour
const setDisconnectStateAfterConnectAttempts = 3
const setDisconnectStateAfterConnectAttempts = 10

func (br *MetaBridge) GetUserByMXID(userID id.UserID) *User {
return br.maybeGetUserByMXID(userID, &userID)
Expand Down

0 comments on commit e19e48f

Please sign in to comment.