Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3342341
D12990.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
872 B
Referenced Files
None
Subscribers
None
D12990.diff
View Options
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
@@ -269,6 +269,9 @@
success: 'LEAVE_THREAD_SUCCESS',
failed: 'LEAVE_THREAD_FAILED',
});
+const leaveThreadEndpointOptions = {
+ timeout: permissionsAndAuthRelatedRequestTimeout,
+};
const leaveThread =
(
callKeyserverEndpoint: CallKeyserverEndpoint,
@@ -277,7 +280,11 @@
const keyserverID = extractKeyserverIDFromID(input.threadID);
const requests = { [keyserverID]: input };
- const responses = await callKeyserverEndpoint('leave_thread', requests);
+ const responses = await callKeyserverEndpoint(
+ 'leave_thread',
+ requests,
+ leaveThreadEndpointOptions,
+ );
const response = responses[keyserverID];
return {
updatesResult: response.updatesResult,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 1:17 AM (18 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2567012
Default Alt Text
D12990.diff (872 B)
Attached To
Mode
D12990: [lib] Increase timeout for leave_thread
Attached
Detach File
Event Timeline
Log In to Comment