aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-01-07 18:15:50 +0000
committerMatthew Wild <mwild1@gmail.com>2025-01-07 18:15:50 +0000
commit957c69461fc3d13ef945cb0ccd62b601f18f2e9a (patch)
tree8b64a3792168c69267f32aac14a911277f2b9a11 /plugins/mod_c2s.lua
parent91776f57efa0fa62db8ace714b0997dca3ea823c (diff)
downloadprosody-957c69461fc3d13ef945cb0ccd62b601f18f2e9a.tar.gz
prosody-957c69461fc3d13ef945cb0ccd62b601f18f2e9a.zip
mod_admin_shell: Don't pause async thread while waiting for promise result
This allows us to continue sending/receiving on the session, for example if the promise will be resolved by other data that the client is going to send. Specifically, this allows the repl-request-input to work without a deadlock. It does open the door to interleaved commands/results, which may not be a good thing overall, but can be restricted separately if necessary (e.g. a flag on the session).
Diffstat (limited to 'plugins/mod_c2s.lua')
0 files changed, 0 insertions, 0 deletions