mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Set timeout on test jig
This commit is contained in:
parent
bbfaf10d10
commit
61bd94fe4b
@ -64,7 +64,8 @@ export class SlidingSyncConnection {
|
||||
this.abortController = new AbortController();
|
||||
const jsonBody = JSON.stringify(reqBody);
|
||||
let resp = await fetch(
|
||||
"/_matrix/client/v3/sync" + (pos ? "?pos=" + pos : ""),
|
||||
"/_matrix/client/v3/sync?timeout=20000" +
|
||||
(pos ? "&pos=" + pos : ""),
|
||||
{
|
||||
signal: this.abortController.signal,
|
||||
method: "POST",
|
||||
|
Loading…
x
Reference in New Issue
Block a user