Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Comments

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

Merged
d-gubert merged 1 commit intoalphafrom
deno/configurable-timeout
Jul 1, 2024
Merged

feat(deno-runtime): limit timeout of "Pre" listener events to 1s#775
d-gubert merged 1 commit intoalphafrom
deno/configurable-timeout

Conversation

@d-gubert
Copy link
Member

@d-gubert d-gubert commented Jul 1, 2024

What? ⛵

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

Why? 🤔

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

Links 🌎

PS 👀

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.

@d-gubert d-gubert merged commit c3b4d2e into alpha Jul 1, 2024
@d-gubert d-gubert deleted the deno/configurable-timeout branch July 1, 2024 21:56
@d-gubert d-gubert mentioned this pull request Jul 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants