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.
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.
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.