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=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by gnuweeb.org (Postfix) with ESMTPSA id 56EE8804D1 for ; Fri, 28 Oct 2022 19:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666985364; bh=n0Ty/zAYLLoa0F+l3tblt4p24bz9pWVIPsul/O8dO28=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qleZcZm4W5emgZeid+S6X+qylLfwaoAAJ6UXUb7FXnj6qXz3Dhs7f+rwyvqaQzJvz olM0cU4j3BVmVKPCok5V0/BGETTj5j+wz4ucUwuf2qqzug9QHbyycUPLi0UJ4cWA71 bLUpop2sA5L3gN/a2kKPqIK5T2LUy19CaBK4/HFaEHQ/eWk2iV65GIeirytrcNZuBh aTjgOSEd2eLMpFMyeHxeOlV9QHfDrySKY4LD8FA3ClOWnjKIwsngEDtUOnkRQhjpqj GZnKdLbu0KlQ7HfEaU4YH1aO7uGEMdgDFU3XUS+G6GYm6cUmwBi4202HyLgutgRsxi Rn+ZnsLlFfDSw== Received: by mail-lf1-f47.google.com with SMTP id r14so9886178lfm.2 for ; Fri, 28 Oct 2022 12:29:24 -0700 (PDT) X-Gm-Message-State: ACrzQf3QzkMMAG7ZUVJiq5+3u3J78dDYAYYJyrWyI2iukQ4aS9cG/0o4 vviCyVxhSW6spMU0YdkjAANt1fbIv/BZ0/js9U0= X-Google-Smtp-Source: AMsMyM6Bvm1BQEuiEHysReIaCyG/bzgOB49NHBzSoVssqM+tnOuFkYg2uo1znVZYwc8fhItTK33LtAHGGUpRUt35r1c= X-Received: by 2002:a05:6512:3d9f:b0:4a2:5bb4:d352 with SMTP id k31-20020a0565123d9f00b004a25bb4d352mr338153lfv.314.1666985362390; Fri, 28 Oct 2022 12:29:22 -0700 (PDT) MIME-Version: 1.0 References: <20221027150823.601914-1-ammarfaizi2@gnuweeb.org> <20221027150823.601914-3-ammarfaizi2@gnuweeb.org> <1d500d37-b11b-75fd-38e5-d7f8e0a9b1d4@gnuweeb.org> <3a79a587-ddee-9e25-2ac5-b573938b44a9@gnuweeb.org> <043f55c3-67d8-9130-aca4-73c59926d2af@gnuweeb.org> <63aa1b63-f7e2-8da3-b16d-0c7e1045d697@gnuweeb.org> <9ecfe8ab-fa5a-d01a-0b68-bc639f14888f@gnuweeb.org> <54c6d514-f8b3-f8bc-f98b-28a1400fac84@gnuweeb.org> In-Reply-To: <54c6d514-f8b3-f8bc-f98b-28a1400fac84@gnuweeb.org> From: Alviro Iskandar Setiawan Date: Sat, 29 Oct 2022 02:29:10 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 2/2] daemon: telegram: Handle MySQL error To: Muhammad Rizki Cc: Ammar Faizi , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" List-Id: On Sat, Oct 29, 2022 at 2:15 AM Muhammad Rizki wrote: > Sorry, you mention remove_patch() which function from? Telegram bot > listener __send_mail() ? if yes, that function is already handled by > mutex, see it on telegram/mailer/listener.py of __handle_mail(), in line > 77 it is already hold. Is this function only called from one place? If that's a guarantee, I'm fine with that. But why delete all files, it's the caller's problem that it doesn't call the function properly.