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

Modules: removed extra VM creation per server. #834

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

xeioex
Copy link
Contributor

@xeioex xeioex commented Jan 4, 2025

No description provided.

@xeioex xeioex marked this pull request as draft January 4, 2025 07:25
@xeioex xeioex requested a review from VadimZhestikov January 4, 2025 07:36
VadimZhestikov
VadimZhestikov previously approved these changes Jan 6, 2025
Copy link
Contributor

@VadimZhestikov VadimZhestikov left a comment

Choose a reason for hiding this comment

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

Looks good, is it still draft?

@xeioex xeioex marked this pull request as ready for review January 6, 2025 16:59
xeioex added 2 commits January 6, 2025 09:09
Previously, when js_import was declared in http or stream blocks, an extra
copy of the VM instance was created for each server block. This was not
needed and consumed a lot of memory for configurations with many server
blocks.

This issue was introduced in 9b67441 (0.8.6) and was
partially fixed for location blocks only in 685b64f (0.8.7).
Copy link
Contributor

@VadimZhestikov VadimZhestikov left a comment

Choose a reason for hiding this comment

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

Looks good

@xeioex xeioex merged commit 855aa4c into nginx:master Jan 6, 2025
1 check passed
@xeioex xeioex deleted the server_blocks_merge branch January 6, 2025 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants