From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 66EE46EC5F; Wed, 21 Apr 2021 09:32:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 66EE46EC5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1618986771; bh=1VJKhFpskRn6tkSvmYWJcMw3+B6KmdBaoRfuhSUl+EI=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=rAvwGX2glRT4jf0+Yse8HQ4lpt+4daZE4FU+eYk7ICZJ+IMmluHWRPmMf7DU8BDr5 Pk8a98uZTorfuM1AKRx9MA/OEfG7LrLZk6NHcKtImHZ6tMeZGil4tzQgyv1Z5Uat0c 4w94PnXR5zJlrFOEi0hAru9BAUXq8bvF03hitSmo= Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 40D4D6F3C4 for ; Wed, 21 Apr 2021 09:31:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 40D4D6F3C4 Received: by smtp38.i.mail.ru with esmtpa (envelope-from ) id 1lZ6Ot-0003Ot-0x; Wed, 21 Apr 2021 09:31:51 +0300 To: avtikhon@tarantool.org, kyukhin@tarantool.org Date: Wed, 21 Apr 2021 09:31:45 +0300 Message-Id: <5f37ecb788b80f0e12eb6eebcacd048cbf624ff9.1618986404.git.sergepetrenko@tarantool.org> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E7480EBD5CA77A668ECB87DA2124B0A8E6609182A05F53808504017C5C11BE0ABF796E843BF5BEA656BAC8A9425A52A6DD213DCEA67C8223F5750 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE742D9BD90C58D50E0EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AAEFEF2B38A4D0058638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B2EE1AA7351DA30A8A59E3D9C8647F16469414A38D98B987DBD2E47CDBA5A96583C09775C1D3CA48CF90BCC82C2C62A6D1117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE71AE4D56B06699BBC9FA2833FD35BB23DF004C90652538430302FCEF25BFAB3454AD6D5ED66289B5278DA827A17800CE71B940EDA0DFB05357B076A6E789B0E97A8DF7F3B2552694A1E7802607F20496D49FD398EE364050F1E561CDFBCA1751F20DA3B6C150F7642B3661434B16C20AC78D18283394535A9E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B9149C560DC76099D75ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C3E7AEEB2EA3DACB3A9A3F8854298AB7764E3B07A21B3DB1A9C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EF0417BEADF48D1460699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34F804B400765FFFF93BB842049C78D3A0DD57E9D8EE87430EFFC23DADCA590C1B119E73E3A142D8E31D7E09C32AA3244CA652AEF6DAECF016E190D4609C9F3DE1F26BFA4C8A6946B8927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojlPRl29Bx4WEe1OMEIj3YKA== X-Mailru-Sender: 583F1D7ACE8F49BDD2846D59FC20E9F8F6D91C620C29244D3B06275BDDA472BD7F72FD02116BEB29424AE0EB1F3D1D21E2978F233C3FAE6EE63DB1732555E4A8EE80603BA4A5B0BC112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: [Tarantool-patches] [PATCH 2/3] feedback_daemon: do not trigger feedback send on first occurred event X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Serge Petrenko via Tarantool-patches Reply-To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Follow-up #5750 --- src/box/lua/feedback_daemon.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/box/lua/feedback_daemon.lua b/src/box/lua/feedback_daemon.lua index 8953185b2..239af5fda 100644 --- a/src/box/lua/feedback_daemon.lua +++ b/src/box/lua/feedback_daemon.lua @@ -368,11 +368,6 @@ local function save_event(self, event) error("Usage: box.internal.feedback_daemon.save_event(string)") end self.cached_events[event] = (self.cached_events[event] or 0) + 1 - if self.cached_events[event] == 1 then - -- The first occurred event of this type triggers report dispatch - -- immediately. - self.send() - end end -- these functions are used for test purposes only -- 2.24.3 (Apple Git-128)