From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [10.7.7.5] (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 185177E24F; Sat, 24 Dec 2022 23:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1671925022; bh=fczM5LziZiD0C4IP+2DflbygXvy0rRMKXZo2PL+4E5M=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=QIlnBC3CCagCm7wtPSZ4O91/W4ytvtmNvQ+kpC/mzDwMnk8gXNoWLh79ItQegJ//V wiItiHyClMw4wMIiiVcZJok9OyI+KWrNkwFp2ed66gS3RBXFJv4VTIj4bSbFhD5SIS UXLMIg+FMCMuJismKk5TtU/MbA49fLyPU7f6Rhrcl/Rkv/8S9T8i/1XMp19Qrw3kw9 DPG8KXrjM/y5YoV6mTJumrCqUVFX19vk53qv1FvKDYDGlnRuMSsKJN5w95WZaEKolV ayticJyY7d3CSr5dV2KKZWQOA4V0N5Ax6k0Jf5O3zsCZ46uVGdUV8drqE1nzBCG3IK e9sO0oXGpuYnQ== Message-ID: <55659103-833e-9d0e-0960-813dea2928ca@gnuweeb.org> Date: Sun, 25 Dec 2022 06:36:58 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v4 00/17] Fix, improvement and implement a bot logger. Content-Language: en-US From: Ammar Faizi To: Muhammad Rizki Cc: Alviro Iskandar Setiawan , GNU/Weeb Mailing List References: <20221221013347.1704-1-kiizuha@gnuweeb.org> <09cf5444-3e42-9e58-ecf0-a4b21e5da953@gnuweeb.org> <489c62e6-b61f-61b9-8209-f098c8eb900d@gnuweeb.org> <02c3ed03-d2c9-2980-dd0d-eab304fad7db@gnuweeb.org> <8074e14a-9e45-1243-8c94-51d6f6e79b28@gnuweeb.org> In-Reply-To: <8074e14a-9e45-1243-8c94-51d6f6e79b28@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 12/25/22 6:35 AM, Ammar Faizi wrote: > On 12/25/22 6:34 AM, Muhammad Rizki wrote: >> https://sebhastian.com/lost-connection-mysql-server-during-query/ >> >> Or you can just set the connection timeout instead? > > This is not about timeout. But when the server is restarted, the > TCP socket is also closed. It needs to reconnect. The Telegram daemon issue has already been fixed by commit: 3eb6a95d602839bb8ac84eacae7258f1de30ea1a ("telegram: listener: Fix missing MySQL error recovery function") but the Discord daemon still has the same issue. Try it. I'll wait for your patch. -- Ammar Faizi