Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resource close #4629

Merged
merged 2 commits into from Aug 31, 2023
Merged

Fix resource close #4629

merged 2 commits into from Aug 31, 2023

Conversation

piotrp
Copy link
Member

@piotrp piotrp commented Aug 31, 2023

Fixes bug introduced by #4514: reloading model using /api/app/processingtype/reload API causes application's shared SttpBackend to close.

Old backend implementation used AkkaHttpBackend, which was created with terminateActorSystemOnClose = false, i.e. it did nothing when close() was called. Our new backend, AsyncHttpClientFutureBackend, defaults to closing all of its resources (closeClient = true).

@piotrp piotrp changed the base branch from staging to release/1.11 August 31, 2023 13:03
@github-actions github-actions bot added the docs label Aug 31, 2023
Copy link
Member

@arkadius arkadius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It's lifecycle extends beyond DeploymentManager
@piotrp piotrp merged commit 99c0b71 into release/1.11 Aug 31, 2023
17 checks passed
@piotrp piotrp deleted the fix-resource-close branch August 31, 2023 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants