Shut down ycmd after 30 minutes of inactivity

This commit is contained in:
micbou 2017-05-11 14:00:47 +02:00
parent 9fd6c8e533
commit 4e08cde268
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05
3 changed files with 3 additions and 3 deletions

View File

@ -3025,7 +3025,7 @@ plugins prevent this event from triggering by exiting Vim through an autocommand
without using the `nested` keyword (see `:h autocmd-nested`). One of these
plugins is [vim-nerdtree-tabs][]. You should identify which plugin is
responsible for the issue and report it to the plugin author. Note that when
this happens, [ycmd][] will automatically shut itself down after 3 hours.
this happens, [ycmd][] will automatically shut itself down after 30 minutes.
Contributor Code of Conduct
---------------------------

View File

@ -3312,7 +3312,7 @@ plugins prevent this event from triggering by exiting Vim through an
autocommand without using the 'nested' keyword (see ':h autocmd-nested'). One
of these plugins is vim-nerdtree-tabs [68]. You should identify which plugin is
responsible for the issue and report it to the plugin author. Note that when
this happens, ycmd [43] will automatically shut itself down after 3 hours.
this happens, ycmd [43] will automatically shut itself down after 30 minutes.
===============================================================================
*youcompleteme-contributor-code-of-conduct*

View File

@ -99,7 +99,7 @@ CORE_PYTHON3_MESSAGE = (
CORE_OUTDATED_MESSAGE = (
'YCM core library too old; PLEASE RECOMPILE by running the install.py '
'script. See the documentation for more details.' )
SERVER_IDLE_SUICIDE_SECONDS = 10800 # 3 hours
SERVER_IDLE_SUICIDE_SECONDS = 1800 # 30 minutes
DIAGNOSTIC_UI_FILETYPES = set( [ 'cpp', 'cs', 'c', 'objc', 'objcpp',
'typescript' ] )
CLIENT_LOGFILE_FORMAT = 'ycm_'