From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Pettersson Newsgroups: gmane.emacs.bugs Subject: bug#74338: 29.1; JSON RPC timeout too short in some cases Date: Sat, 23 Nov 2024 01:23:16 +0100 Message-ID: References: <80qbjyjjod3.fsf@eurocontrol.int> <86bjyil0pg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27292"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Jurgen De Backer , 74338@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 23 01:24:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tEdwm-0006vR-CB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Nov 2024 01:24:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEdwR-0000cJ-Ji; Fri, 22 Nov 2024 19:24:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEdwQ-0000cA-6r for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 19:24:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEdwP-0007Bw-Uf for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 19:24:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=p1VXa1zbH2MLemFBUyGOsT0a6Mo2nakJJayaTNFpR60=; b=s/8H/qCcn8Esjr9HSTsfSSPGyrJaV+TutDhALiNklsSWYSbTIgdra/fYHAyouHHoc0lRs7Vjkqo4MpH15RNvcdnUskaRmlhsQCe+bbVKiyL0ipOCd5fUqTVzE/0VFkUX68HXVwn9/2l6Vjvr2IU3X/W/d9tMrtkxtRbsVCURKK+RmqleuD5OX4RZOpDWKZF1BdZMNKpRXG7JClvtkzWUvJL0JM1xmPoUP9SDSv+QoGIUkEtGnC7E4KzB4TDZRx/J2d7PwKATZ4jsMuap6hAxIqcIarS9ZkwlS3PfV+A9Rm2HlqOIrHiSHWe8MFL/u+2UUeCZ6r04zyC22HVL3LFBvQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEdwP-0002i7-Nx for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 19:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Pettersson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2024 00:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74338 X-GNU-PR-Package: emacs Original-Received: via spool by 74338-submit@debbugs.gnu.org id=B74338.173232140210339 (code B ref 74338); Sat, 23 Nov 2024 00:24:01 +0000 Original-Received: (at 74338) by debbugs.gnu.org; 23 Nov 2024 00:23:22 +0000 Original-Received: from localhost ([127.0.0.1]:56030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEdvl-0002gg-HR for submit@debbugs.gnu.org; Fri, 22 Nov 2024 19:23:21 -0500 Original-Received: from mail-lj1-f169.google.com ([209.85.208.169]:44450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEdvj-0002gW-Fh for 74338@debbugs.gnu.org; Fri, 22 Nov 2024 19:23:20 -0500 Original-Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2fb5740a03bso31520201fa.1 for <74338@debbugs.gnu.org>; Fri, 22 Nov 2024 16:23:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732321398; x=1732926198; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p1VXa1zbH2MLemFBUyGOsT0a6Mo2nakJJayaTNFpR60=; b=eVT6uQe48JP0l8i1YhpURfqemC8LPv6obd62dzvbBB+P7ZR1fcf+61zhpYCWYYrZty GQh4DJzYzhHNX1Qjqq12G9oF0xHlxBK5gdtEHaIuc7bm6Y+0CWX7M5HFl5ukfOmz3dSn WnMsbzpxvomPQPhV9mdkrLcleHJkIV0fVO1ppToFNyRhG+x5ccO1A0FQWnjd+ttF03gc cZygP9eyRXQ/I0NWw0z+CO3+9ytVp6NrVOw3cucz2r3NE16zbHPbUh0b3pjwmwbXYENY f74uswgSwCajNq2KYnplLzzxnmpjTFUH1fj2NCe990bgL3xCRR8LlSEDOMWTVs50IPhG DUvg== X-Forwarded-Encrypted: i=1; AJvYcCUbj1Z+KLgrETRQF43X0FWBnQCvgZmJO39WkERHaSbBPIp8h5fmgbOJle767cvN2WdDAYq9bA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwFbaJr4K8WKAAUP8C1Vsw0OMkx3bhGbYX2zlllpGYHeOEO4h/V LskwN+XbzE5pWB4TO5om/C5Be+WH722FeEJY3Te3HzVyRjcnqM9GaES7fw== X-Gm-Gg: ASbGncuKs/jXv7lqrvEYlUs96ClRxkAzFcURidt18CboPDPJ3WilTPrEgReKL9Jzjpw zX3cxmEt+1T+K1QHCycrFkZi9/mI2YWTWVozTT2evo8OwMH8ZPxjNlNnh0HFQduyIXpe9C+/OHH +BE5rJLKDxbyh1FgjqP2cfN0kJrdzi2V+UiB+Czz6J2EAjbaEwuKASRkKmAihczVg84hQrftvhH PaZwsQr4//Zj/XLWn+Ha9WMAYAg/BcthAyZqBTztI3PYX9WIQexBE8i9MOuvyZqPOU7vF/W37ZI 97vrKWKN8JRduuZdcGNdt3l3qg== X-Google-Smtp-Source: AGHT+IGtwffm+Kaxjkhi/L5skdLPxjWB8qOOm2aaP9fpC5kcALG55Nv/MrU6+AVzb7DSQ5J+6ffPCA== X-Received: by 2002:a05:651c:503:b0:2f3:b71a:1e91 with SMTP id 38308e7fff4ca-2ffa711f98amr28948661fa.17.1732321398025; Fri, 22 Nov 2024 16:23:18 -0800 (PST) Original-Received: from Daniels-Air (c-85-228-201-151.bbcust.telenor.se. [85.228.201.151]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ffa5375d8esm5585151fa.89.2024.11.22.16.23.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 16:23:17 -0800 (PST) In-Reply-To: <86bjyil0pg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2024 09:43:39 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295803 Archived-At: Eli Zaretskii writes: >> Date: Wed, 13 Nov 2024 12:43:20 +0000 >> From: Jurgen De Backer via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> >> Hi, >> When using emacs together with eglot/ada_language_server, >> some requests may take longer than the 10 seconds specified in >> jsonrpc.el (defconst jsonrpc-default-request-timeout 0). >> It would be better to be able to change this default value. > > Daniel, any comments or suggestions? Maybe we should make that > variable a defcustom? No real harm in converting it, it might be better of it was configured on eglot as eglot-default-request-timeout but that would require some work in eglot I believe. The argument against it is that it could have unintended consequences for other users of jsonrpc, but I think it's something we can live with.