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
When we reload origins in Styx, new thread pools are created but the old ones are not deleted.
Detailed description
There are two places where new thread pools are created:
NettyConnectionFactory
ScheduledOriginHealthStatusMonitor
These are not currently shut down when new ones are created for the associated back-end service, causing the number of threads to climb ever-upwards. These need to be closed when origins are reloaded, i.e. when the client they are associated with closes.
Acceptance criteria
(/) The thread pool for NettyConnectionFactory is shut down when the object is discarded
(/) The thread pool for ScheduledOriginHealthStatusMonitor is shut down when the object is discarded
The text was updated successfully, but these errors were encountered:
The problem
When we reload origins in Styx, new thread pools are created but the old ones are not deleted.
Detailed description
There are two places where new thread pools are created:
NettyConnectionFactory
ScheduledOriginHealthStatusMonitor
These are not currently shut down when new ones are created for the associated back-end service, causing the number of threads to climb ever-upwards. These need to be closed when origins are reloaded, i.e. when the client they are associated with closes.
Acceptance criteria
(/) The thread pool for
NettyConnectionFactory
is shut down when the object is discarded(/) The thread pool for
ScheduledOriginHealthStatusMonitor
is shut down when the object is discardedThe text was updated successfully, but these errors were encountered: