Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsggO-008wgc-BP for pgadmin-hackers@arkaria.postgresql.org; Tue, 17 Oct 2023 09:48:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qsggM-008Uvp-4v for pgadmin-hackers@arkaria.postgresql.org; Tue, 17 Oct 2023 09:48:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsggL-008UvW-TZ for pgadmin-hackers@lists.postgresql.org; Tue, 17 Oct 2023 09:48:10 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsggI-0019hA-E7 for pgadmin-hackers@lists.postgresql.org; Tue, 17 Oct 2023 09:48:10 +0000 Received: from github.com (hubbernetes-node-ce3731e.ac4-iad.github.net [10.52.210.41]) by smtp.github.com (Postfix) with ESMTPA id 7D0EF1E0416 for ; Tue, 17 Oct 2023 02:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1697536085; bh=WW2Lp/GjEa761Cw8z8tRoGbghSOpBc7cfmpxnWCqSF0=; h=Date:From:To:Subject:From; b=GVr661W1IQ3hiHL7fwehf/cu/R8/+s+nilMkECXHpebYRHmoUeP4RZfOIyDkzffkt GM0ntwv+OQmh6iMSsaIOk+/lNciAYFwt2/gfoDWG6VCwjF+ne7gfHkXTSuoFL9q1Lp 6PuJha56EPflKlHIyKN5tTG2W9dzaE+PWAQwUxeo= Date: Tue, 17 Oct 2023 02:48:05 -0700 From: Pravesh Sharma To: pgadmin-hackers@lists.postgresql.org Message-ID: Subject: [pgadmin-org/pgadmin4] 5bb6e9: Fixed query history slowness issue by storing quer... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: pgadmin-hackers@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgadmin-org/pgadmin4 Commit: 5bb6e9133fa5234a4648cf7614926b13071b1234 https://github.com/pgadmin-org/pgadmin4/commit/5bb6e9133fa5234a4648cf7614926b13071b1234 Author: Pravesh Sharma Date: 2023-10-17 (Tue, 17 Oct 2023) Changed paths: M web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx M web/pgadmin/tools/sqleditor/static/js/components/QueryToolConstants.js M web/pgadmin/tools/sqleditor/static/js/components/sections/QueryHistory.jsx Log Message: ----------- Fixed query history slowness issue by storing query only for those having certain threshold max length. #6666