You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timeout ms of terminus is hardcoded to 1000 in the server shutdown. We should add a new SERVER_SHUTDOWN_TIMEOUT environment variable to configure this.
Originally posted by onordgren January 19, 2023
Hello! We're running directus in k8s and would like to be able to control the timeout period in the terminus handler. From the source code it looks like it's hard coded at 1000ms. Is there some other recommended way of doing this, was thinking of maybe doing it in the server.stop hook. Or would you consider adding a configuration option to be able to set the terminus timeout?
The text was updated successfully, but these errors were encountered:
The timeout ms of terminus is hardcoded to
1000
in the server shutdown. We should add a newSERVER_SHUTDOWN_TIMEOUT
environment variable to configure this.Discussed in #17237
Originally posted by onordgren January 19, 2023
Hello! We're running directus in k8s and would like to be able to control the timeout period in the terminus handler. From the source code it looks like it's hard coded at 1000ms. Is there some other recommended way of doing this, was thinking of maybe doing it in the
server.stop
hook. Or would you consider adding a configuration option to be able to set the terminus timeout?The text was updated successfully, but these errors were encountered: