Set timeout on test jig

This commit is contained in:
Kegan Dougal 2022-03-23 12:18:32 +00:00
parent bbfaf10d10
commit 61bd94fe4b

View File

@ -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",