Skip to content

Commit 6ed8010

Browse files
bump up RPC total timeout to 15s, connectionTimeout to 7s (#1686)
1 parent e834708 commit 6ed8010

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/room/participant/LocalParticipant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,9 +1771,9 @@ export default class LocalParticipant extends Participant {
17711771
destinationIdentity,
17721772
method,
17731773
payload,
1774-
responseTimeout = 10000,
1774+
responseTimeout = 15000,
17751775
}: PerformRpcParams): Promise<string> {
1776-
const maxRoundTripLatency = 2000;
1776+
const maxRoundTripLatency = 7000;
17771777

17781778
return new Promise(async (resolve, reject) => {
17791779
if (byteLength(payload) > MAX_PAYLOAD_BYTES) {

0 commit comments

Comments
 (0)