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

www/nginx: backend performance improvements #1075

Merged
merged 2 commits into from
Dec 17, 2018
Merged

Conversation

fabianfrz
Copy link
Member

@fabianfrz fabianfrz commented Dec 17, 2018

don't read log file at once (convert reader to line by line read) and don't extract JSON structure in controller

don't read log file at once
@fabianfrz fabianfrz self-assigned this Dec 17, 2018
@fabianfrz fabianfrz added the bug Production bug label Dec 17, 2018
}

private function parse_file() {
Copy link
Member

Choose a reason for hiding this comment

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

looks like this would go against style, style-fix should address this

Copy link
Member Author

Choose a reason for hiding this comment

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

the underscore?

@fabianfrz
Copy link
Member Author

@fichtner I put the bracket in it's own line

@fabianfrz fabianfrz merged commit d2b58ac into master Dec 17, 2018
@fabianfrz fabianfrz deleted the ngx_log_performance branch December 17, 2018 18:42
@fabianfrz
Copy link
Member Author

I will just add this to be complete. The bug report is:
https://forum.opnsense.org/index.php?topic=10677.msg48856#new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

Successfully merging this pull request may close these issues.

2 participants