Skip to content

Commit a0babc0

Browse files
committed
don't timeout for progress-reporting RPC requests to editor
1 parent 8c76f8a commit a0babc0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pylsp/_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import jedi
1515

1616
JEDI_VERSION = jedi.__version__
17-
CALL_TIMEOUT = 10
1817

1918
# Eol chars accepted by the LSP protocol
2019
# the ordering affects performance

test/test_language_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
import pytest
1313

1414
from pylsp.python_lsp import start_io_lang_server, PythonLSPServer
15-
from pylsp._utils import CALL_TIMEOUT
1615

16+
CALL_TIMEOUT = 10
1717
RUNNING_IN_CI = bool(os.environ.get('CI'))
1818

1919

0 commit comments

Comments
 (0)