zulip/web
Prakhar Pratyush 5b7014e7d6 server_history: Prevent concurrent requests for the same stream_id.
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.
2023-10-09 11:17:03 -07:00
..
e2e-tests gear_menu: Remove href="#logout" from logout button. 2023-09-27 18:01:47 -07:00
generated
html
images inbox: Add icon in search box to clear any text. 2023-10-05 08:57:44 -07:00
shared icons: Update the icons for Unmute and Follow. 2023-10-03 08:18:39 -07:00
src server_history: Prevent concurrent requests for the same stream_id. 2023-10-09 11:17:03 -07:00
styles register: Move style to css file. 2023-10-06 09:19:01 -07:00
templates left_sidebar_inbox_popover: Move to new popovers folder. 2023-10-06 11:24:40 -07:00
tests server_history: Prevent concurrent requests for the same stream_id. 2023-10-09 11:17:03 -07:00
third compose: Ensure cursor is scrolled into view after content is inserted. 2023-10-09 11:13:53 -07:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-09-15 14:09:49 -07:00
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js
webpack.assets.json hello: Fix client logos not changing on hello page. 2023-10-06 12:51:57 -07:00
webpack.config.ts dependencies: Upgrade JavaScript dependencies. 2023-06-05 21:51:26 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00