RocketChat / Rocket.Chat.Apps-engine

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

feat(deno-runtime): restart app process if it times out consecutively #777

Closed d-gubert closed 1 week ago

d-gubert commented 2 weeks ago

What? :boat:

Extracted two new components from the DenoRuntimeSubprocessController class:

Refactor the ping functionality to add the following:

Why? :thinking:

If the Deno subprocess goes to an invalid state and stop responding, we try to restart it in hopes that this recovers the process nicely.

Links :earth_americas:

PS :eyes: