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

Node.js process response too late when setAutoCollectDependencies set to true #524

Closed
asvishnyakov opened this issue May 25, 2019 · 2 comments

Comments

@asvishnyakov
Copy link

It respond ~15 sec instead of usual ~3 sec. If I do setAutoCollectDependencies(false) then all is ok.

@OsvaldoRosado
Copy link
Member

15 seconds sounds like you’re running into the default batching interval.

If you’re using this SDK in an app that isn’t a typical long-running server and need it to close quickly, consider calling client.flush() or setting the batching interval to 0 (through the configuration described in the readme).

Possibly related: #495, #475, #390, #379

@asvishnyakov
Copy link
Author

Yay! Seems to be truth. Thank you @OsvaldoRosado!

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

3 participants