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
Currently we are adding support for graceful Redis shutdowns on the server using the PR - #23212.
However, this way of closing connections is not a great design pattern. Instead each resource that uses this dependency should be responsible for disposing all it's external dependencies. Hence, this WI is used to track the changes that will need to be made to redesign interfaces that use external dependencies to have a factory pattern to dispose these resources as well.
Approach
Redesign interfaces using external dependencies to have a .close() or .dispose() method. This will be called while calling the runner's .dispose() method.
Acceptance criteria
Graceful shutdown of external dependencies.
The text was updated successfully, but these errors were encountered:
dhr-verma
changed the title
Improved interfaces to gracefully shutdown external dependencies
Improve interfaces to gracefully shutdown external dependencies
Nov 26, 2024
Work Item
Describe the outcome you expect
Currently we are adding support for graceful Redis shutdowns on the
server
using the PR - #23212.However, this way of closing connections is not a great design pattern. Instead each resource that uses this dependency should be responsible for disposing all it's external dependencies. Hence, this WI is used to track the changes that will need to be made to redesign interfaces that use external dependencies to have a factory pattern to dispose these resources as well.
Approach
Redesign interfaces using external dependencies to have a
.close()
or.dispose()
method. This will be called while calling the runner's.dispose()
method.Acceptance criteria
Graceful shutdown of external dependencies.
The text was updated successfully, but these errors were encountered: