[Tarantool-patches] [PATCH 2/3] feedback_daemon: do not trigger feedback send on first occurred event
Serge Petrenko
sergepetrenko at tarantool.org
Wed Apr 21 09:31:45 MSK 2021
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)
More information about the Tarantool-patches
mailing list