Closed philippjfr closed 2 years ago
I think this makes a lot of sense. As a concrete example, skipping the event processing took the login time to 1 second down from six minutes!
I've rebased against latest master to pick up the updated unit tests so I can make sure the tests pass locally.
I've now run the tests locally and they are all passing (with 4 expected failures):
@mcg1969 Ready to merge!
Currently the
AEAdminSession.user_list
andAEAdminSession.user_info
calls include information about the last login. To obtain that information it queries ALL login events, which, on a long running cluster, can amount to 100s of thousands or even millions of records and slow the process down. Therefore I've added a keyword argument to control whether to include the login info. Since theAEAdminSession.impersonate
call does not need this information it also setsinclude_login=False
.