mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-29 23:21:36 +00:00
The sync timeout should be 0 according to the spec[1] [1] https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-sync Signed-off-by: Reto Brunner <brunnre8@gmail.com>
This commit is contained in:
parent
170264404e
commit
088a939461
@ -27,7 +27,7 @@ import (
|
|||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultSyncTimeout = time.Duration(30) * time.Second
|
const defaultSyncTimeout = time.Duration(0)
|
||||||
const defaultTimelineLimit = 20
|
const defaultTimelineLimit = 20
|
||||||
|
|
||||||
// syncRequest represents a /sync request, with sensible defaults/sanity checks applied.
|
// syncRequest represents a /sync request, with sensible defaults/sanity checks applied.
|
||||||
|
Loading…
Reference in New Issue
Block a user