From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74338: 29.1; JSON RPC timeout too short in some cases Date: Sat, 23 Nov 2024 15:26:33 +0200 Message-ID: <86plmmkrna.fsf@gnu.org> References: <80qbjyjjod3.fsf@eurocontrol.int> <86bjyil0pg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29434"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jurgen.de-backer.ext@eurocontrol.int, 74338@debbugs.gnu.org To: Daniel Pettersson , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 23 14:27:29 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 1tEqAb-0007SJ-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Nov 2024 14:27:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEqAO-0006pq-Gr; Sat, 23 Nov 2024 08:27:16 -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 1tEqAD-0006kr-JK for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 08:27:06 -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 1tEqAA-0007GK-6m for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 08:27:04 -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:References:In-Reply-To:From:Date:To:Subject; bh=HsTH5Fncz89VMHe+tCl0R+al8n0Ehpxk1iKgounsd4Y=; b=ANdORVMNxWPglRrrj8GAY9s4sOiArmq8BYzXuArZ0/2lQNGTj5B9GVKZbkW/Rwnim7vMk/Hj8ygjPWxOKSb7ZGCUwj308oruJg/kYNOk+UxDjv6T93OjPkscKUOXYy8gWc7tjQkRd5gTFPbhzt7J6qod0jgmuZ089u74ek6E/O3/m2nvK+xM9vNomWks+G7H6zBqZ2tjVx+ryzSh4wBq87fqEJS9Ey9O4pWPivdxf5pkG1L9hyZsubAyFa0bBvohqbquKs/FLMBIeo07fmc2k1D5nieedPbFxYPUux7XOYRC5Dz9iwALzDacGNSTJKjlDytnzteSQ+ackXz+5+1lbQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEqAA-0006y3-1X for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 08:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2024 13:27:02 +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.173236840826756 (code B ref 74338); Sat, 23 Nov 2024 13:27:02 +0000 Original-Received: (at 74338) by debbugs.gnu.org; 23 Nov 2024 13:26:48 +0000 Original-Received: from localhost ([127.0.0.1]:57151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEq9v-0006xS-QA for submit@debbugs.gnu.org; Sat, 23 Nov 2024 08:26:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEq9t-0006x4-9s for 74338@debbugs.gnu.org; Sat, 23 Nov 2024 08:26:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEq9l-00076a-Ba; Sat, 23 Nov 2024 08:26:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HsTH5Fncz89VMHe+tCl0R+al8n0Ehpxk1iKgounsd4Y=; b=icTyuG9nXqmoRiweChiq AS5ZdpfrYCxzyGAj5R0JhUeyeSy8AZ2q4xGxEH9OKA1ibv4HH1Oym5ZHJ0PXOS9j1E1MUIPVHrfUn EAku7szlH4RW44dvPA4F0Rj4aWB/iBCROxY8+UWQlj9HLOPXor7YZQI8U9SE/RDYu4CH8SQC6d+wk EcCdpmGM9Tumj2dIYklyTLjCazpA2DxN0xaC1YBtxapgqWrvV3cSLuKaxdycRPSG4l0WKPYS7rkiq awRd0bIMTrDhBXL1Q59nWW+XtYQ5KqWeYG9juLAo1FSv7tnPohZqOToCnyu2KDDZ0kFXHDvQIbXgl NdHAE6xc3q0UMA==; In-Reply-To: (message from Daniel Pettersson on Sat, 23 Nov 2024 01:23:16 +0100) 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:295833 Archived-At: > From: Daniel Pettersson > Cc: Jurgen De Backer , > 74338@debbugs.gnu.org > Date: Sat, 23 Nov 2024 01:23:16 +0100 > > 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. Joćo, any reasons not to make this variable a defcustom?