Skip to content

Limit selection of sign in events to 2 when fetching second_last_signed_in_at#6979

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/limit-events-2fa
Sep 19, 2022
Merged

Limit selection of sign in events to 2 when fetching second_last_signed_in_at#6979
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/limit-events-2fa

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke commented Sep 16, 2022

Currently selects all and only takes the second. This is a small change to only select up to 2

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no direct test coverage for this method. Should we add some?

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/limit-events-2fa branch from b2b897d to 8eb0fce Compare September 19, 2022 14:03
@mitchellhenke
Copy link
Contributor Author

There's no direct test coverage for this method. Should we add some?

Thanks for catching that, added a simpler baseline test for the intended functionality.

…ed_in_at

changelog: Internal, Performance, Limit selection of sign in events to 2 when fetching second_last_signed_in_at
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/limit-events-2fa branch from 8eb0fce to 4d43ca2 Compare September 19, 2022 14:21
@mitchellhenke mitchellhenke merged commit 0f796aa into main Sep 19, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/limit-events-2fa branch September 19, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants