Page MenuHomePhabricator

D12999.id43181.diff
No OneTemporary

D12999.id43181.diff

diff --git a/lib/actions/thread-actions.js b/lib/actions/thread-actions.js
--- a/lib/actions/thread-actions.js
+++ b/lib/actions/thread-actions.js
@@ -235,6 +235,9 @@
success: 'JOIN_THREAD_SUCCESS',
failed: 'JOIN_THREAD_FAILED',
});
+const joinThreadOptions = {
+ timeout: permissionsAndAuthRelatedRequestTimeout,
+};
const joinThread =
(
callKeyserverEndpoint: CallKeyserverEndpoint,
@@ -243,7 +246,11 @@
const keyserverID = extractKeyserverIDFromID(input.threadID);
const requests = { [keyserverID]: input };
- const responses = await callKeyserverEndpoint('join_thread', requests);
+ const responses = await callKeyserverEndpoint(
+ 'join_thread',
+ requests,
+ joinThreadOptions,
+ );
const response = responses[keyserverID];
const userInfos = values(response.userInfos);
return {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 7:21 AM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2599863
Default Alt Text
D12999.id43181.diff (854 B)

Event Timeline