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

How to change sleep timing as per my knowledge it's 100 ms. can i decrease it? will it affect any performance of code ? #74

Closed
MrSpark2591 opened this issue Jan 10, 2017 · 1 comment

Comments

@MrSpark2591
Copy link

i am pretty new developer
I am handling req with express and developing a proxy server where i have to attach some auth data to every coming request for which i query redis which is async call and that's why i picked up this module to be life savior.
If i can reduce internal sleep time will it help on performance of app. and how can i reduce it?

@abbr
Copy link
Owner

abbr commented Jan 11, 2017

If you picked up this module then I assume you can change the timer parameter.
For better performance it's better to use on of the other two methods documented depending on whether the async function has standard API.

@abbr abbr closed this as completed Jan 11, 2017
@MrSpark2591 MrSpark2591 changed the title How t change sleep timing as per my knowledge it's 100 ms. can i decrease it? will it affect any performance of code ? How to change sleep timing as per my knowledge it's 100 ms. can i decrease it? will it affect any performance of code ? Feb 6, 2017
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

No branches or pull requests

2 participants