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

Optimize environment lookup to happen once only #403

Merged
merged 1 commit into from
Jan 3, 2013
Merged

Optimize environment lookup to happen once only #403

merged 1 commit into from
Jan 3, 2013

Conversation

mmalecki
Copy link
Member

@mmalecki mmalecki commented Jan 3, 2013

process.env lookup results in a synchronous syscall to getenv(),
thus should be avoided in hot code.

Add request.debug to allow setting debugging mode at runtime.

`process.env` lookup results in a synchronous syscall to `getenv()`,
thus should be avoided in hot code.

Add `request.debug` to allow setting debugging mode at runtime.
mikeal added a commit that referenced this pull request Jan 3, 2013
Optimize environment lookup to happen once only
@mikeal mikeal merged commit e51cc63 into request:master Jan 3, 2013
@mmalecki mmalecki deleted the optimize-env-lookup branch January 3, 2013 04:29
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.

None yet

2 participants