mirror of https://github.com/zulip/zulip.git
5b7014e7d6
This commit updates the 'get_server_history' function to return early if a request is already in progress for a given stream_id, thus preventing concurrent requests for a single stream_id. We maintain a set 'request_pending_stream_ids', which contains all the stream IDs for whom requests are in progress. Using this set, we return early. Fixes #26915. |
||
---|---|---|
.. | ||
e2e-tests | ||
generated | ||
html | ||
images | ||
shared | ||
src | ||
styles | ||
templates | ||
tests | ||
third | ||
.browserslistrc | ||
.gitignore | ||
babel.config.js | ||
debug-require-webpack-plugin.ts | ||
debug-require.js | ||
postcss.config.js | ||
webpack.assets.json | ||
webpack.config.ts | ||
webpack.dev-assets.json |