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

g:tern_request_timeout default value #160

Open
pangchol opened this issue Mar 22, 2017 · 1 comment
Open

g:tern_request_timeout default value #160

pangchol opened this issue Mar 22, 2017 · 1 comment

Comments

@pangchol
Copy link

pangchol commented Mar 22, 2017

I think the default value of g:tern_request_timeout need set to biger than 1. cause I ofen get the ”time out“ warning when I add some ”loadEagerly“ files in .tern_project. it obvious that 1 second is no enough to get the query return when the project is more than one file.

marijnh added a commit to ternjs/tern that referenced this issue Mar 22, 2017
@marijnh
Copy link
Member

marijnh commented Mar 22, 2017

Does attached change help? It pre-analyzes the files that are loaded eagerly to avoid taking too long on the first request. A pull request that makes it possible to configure the timeout would also be accepted.

DonnieWest pushed a commit to DonnieWest/tern that referenced this issue Apr 4, 2017
mericanAncer127 added a commit to mericanAncer127/ternjs that referenced this issue Mar 19, 2024
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