RocketChat / Rocket.Chat.Apps-engine

The Rocket.Chat Apps engine and definitions.
https://rocketchat.github.io/Rocket.Chat.Apps-engine/
MIT License
115 stars 118 forks source link

feat(deno-runtime): limit timeout of "Pre" listener events to 1s #775

Closed d-gubert closed 3 months ago

d-gubert commented 3 months ago

What? :boat:

Add an option to the runtime request functions to allow for ad-hoc overriting of the default timeout configuration (10s)

Why? :thinking:

Long time outs on "Pre" listener events were causing actions on the RocketChat side to take too long if a subprocess became faulty

Links :earth_americas:

PS :eyes:

The API ended up being a bit off due to the current architecture constrains of the ProxiedApp. We'll need to reevaluate at a later date.