Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 7d518f3790b88c52a89ef1f8da3d03574a516029
https://github.com/tribe29/checkmk/commit/7d518f3790b88c52a89ef1f8da3d03574…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
M cmk/gui/mobile.py
M cmk/gui/plugins/views/commands.py
M cmk/gui/plugins/views/crash_reporting.py
M cmk/gui/plugins/views/mkeventd.py
M cmk/gui/plugins/views/utils.py
M cmk/gui/views.py
Log Message:
-----------
Use action_rows instead of num_rows in commands
CMK-6405
This allows us to optimize several commands
that act on several selected object (e.g. event)
So instead of one command per selected object
we issue one command on a list of objects.
Besides num_rows was almost unused and easily
substituted by len(action_rows) where needed
Change-Id: I0eba8066ac2040493bfcfac1e1f6b499dcfadedc
Commit: 82e087cddf68de13f9c60288547570a26ac6b49b
https://github.com/tribe29/checkmk/commit/82e087cddf68de13f9c60288547570a26…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
M cmk/ec/main.py
M tests/unit/cmk/ec/test_ec_status.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: I974bf90145f675dda82eaef2921d9ce5344cf6b3
Commit: 6e6839f006bcda081dae35530df451572a10e783
https://github.com/tribe29/checkmk/commit/6e6839f006bcda081dae35530df451572…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
M cmk/ec/main.py
M cmk/gui/plugins/views/mkeventd.py
M tests/unit/cmk/ec/test_ec_status.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: I4208fed2b91917db632b02f4390428ccfcda8f9e
Commit: db24cb2ff1f5015d71e48397fcff81c1f999cd21
https://github.com/tribe29/checkmk/commit/db24cb2ff1f5015d71e48397fcff81c1f…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
A .werks/14851
Log Message:
-----------
14851 Improve performance of "Archive events" actions
Change-Id: I5160899b02b3f1623e31797466b3b988028c95a7
Compare:
https://github.com/tribe29/checkmk/compare/a22ad7231b11...db24cb2ff1f5