appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.55k stars 3.73k forks source link

[Feature]-[2100]:Refactor requests to the server should be queued and not run in parallel #3588

Open hetunandu opened 3 years ago

hetunandu commented 3 years ago

Description

Since the server runs the refactor change, there is a possibility of multiple refactor calls, one after the other getting out of sync and putting the client in a bad state. To ensure this does not happen, we should queue these requests and not run them parallelly. This applies to both actions and widgets

rohan-arthur commented 2 years ago

js editor 6m usage: 3000 this will impact about 30-40% of these users: 1050

Stats

Stat Values
Reach      1050
Effort (months)  1
Nikhil-Nandagopal commented 2 years ago

@rohan-arthur this isn't related to the JS Editor. Any refactor request can cause this. I would see how many renames we are doing and then how many of them happen in parallel. Seems like a very low number