Skip to content

Commit

Permalink
revert fix(social-messenger): increase HTTP request timeout for the c…
Browse files Browse the repository at this point in the history
…lient (#82)
  • Loading branch information
MartinCupela authored Aug 1, 2023
1 parent 31309cb commit 080afc6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/social-messenger/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "./static/css/main.66b9f58c.css",
"main.js": "./static/js/main.342f2992.js",
"main.js": "./static/js/main.2b3cd6c5.js",
"static/js/878.6d9ac32a.chunk.js": "./static/js/878.6d9ac32a.chunk.js",
"static/js/141.8fefbbe8.chunk.js": "./static/js/141.8fefbbe8.chunk.js",
"static/js/209.665a1b0f.chunk.js": "./static/js/209.665a1b0f.chunk.js",
Expand Down Expand Up @@ -35,14 +35,14 @@
"static/media/photo-1546623381-d6d69cd69955.jpeg": "./static/media/photo-1546623381-d6d69cd69955.84098cf1872b45610b61.jpeg",
"index.html": "./index.html",
"main.66b9f58c.css.map": "./static/css/main.66b9f58c.css.map",
"main.342f2992.js.map": "./static/js/main.342f2992.js.map",
"main.2b3cd6c5.js.map": "./static/js/main.2b3cd6c5.js.map",
"878.6d9ac32a.chunk.js.map": "./static/js/878.6d9ac32a.chunk.js.map",
"141.8fefbbe8.chunk.js.map": "./static/js/141.8fefbbe8.chunk.js.map",
"209.665a1b0f.chunk.js.map": "./static/js/209.665a1b0f.chunk.js.map",
"972.3b9e378d.chunk.js.map": "./static/js/972.3b9e378d.chunk.js.map"
},
"entrypoints": [
"static/css/main.66b9f58c.css",
"static/js/main.342f2992.js"
"static/js/main.2b3cd6c5.js"
]
}
2 changes: 1 addition & 1 deletion docs/social-messenger/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Social Messenger | Stream</title><script defer="defer" src="./static/js/main.342f2992.js"></script><link href="./static/css/main.66b9f58c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Social Messenger | Stream</title><script defer="defer" src="./static/js/main.2b3cd6c5.js"></script><link href="./static/css/main.66b9f58c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion social-messenger-ts/src/hooks/useConnectUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const useConnectUser = <SCG extends ExtendableGenerics = DefaultGenerics>
const client = new StreamChat<SCG>(apiKey, {
enableInsights: true,
enableWSFallback: true,
timeout: 5000 // FIXME: Added to fix timeout in queryChannels request. The root cause of timeouts to be investigated.
});

// Under some circumstances, a "connectUser" operation might be interrupted
Expand Down

0 comments on commit 080afc6

Please sign in to comment.