Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 670d0a5eba7133ee7b426850705d402cf4e5b279
https://github.com/tribe29/checkmk/commit/670d0a5eba7133ee7b426850705d402cf…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M cmk/gui/logged_in.py
M cmk/gui/utils/transaction_manager.py
M tests/unit/cmk/gui/utils/test_transaction_manager.py
Log Message:
-----------
TransactionManager: remove request argument and use global object
Change-Id: I8623ce0175939d34991ae397e2c672e611ff7c4e
Commit: 97055ccf37896238675bf364ef033fc3119c908e
https://github.com/tribe29/checkmk/commit/97055ccf37896238675bf364ef033fc31…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M cmk/ec/main.py
M tests/unit/cmk/ec/test_ec_delete.py
Log Message:
-----------
Refactor EC delete_events
This reduces the time complexity from O(n^2)
to a better O(n) by not looping through events twice.
Also added a predicate callable to make delete_events_by
more universal. I.E can delete by event id or event host or whatever.
Change-Id: Ib4bfef2e54e6846c2ef2a1809b235e3239714b9a
Commit: 43534ef96b6c2e6f26cd9999e5eaa657ceb6571e
https://github.com/tribe29/checkmk/commit/43534ef96b6c2e6f26cd9999e5eaa657c…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M cmk/ec/main.py
M cmk/gui/plugins/views/mkeventd.py
M tests/unit/cmk/ec/test_ec_delete.py
Log Message:
-----------
Optimize delete all events of host
CMK-6405
The command does not need to make
a round-trip query. The EC find all events of host itself.
Especially useful if you consider the site can have
a remote site with slow connection.
Change-Id: I72775a1d18a7764fe250eea07423015193e7b035
Compare:
https://github.com/tribe29/checkmk/compare/eb578eb08384...43534ef96b6c