Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove delay when rotating event push actions #13211

Merged
merged 2 commits into from
Jul 11, 2022

Conversation

erikjohnston
Copy link
Member

We want to be as up to date as possible, and sleeping doesn't help here and can mean we fall behind.

We want to be as up to date as possible, and sleeping doesn't help here
and can mean we fall behind.
@erikjohnston erikjohnston marked this pull request as ready for review July 7, 2022 13:33
@erikjohnston erikjohnston requested a review from a team as a code owner July 7, 2022 13:33
@@ -1109,7 +1107,7 @@ def remove_old_push_actions_that_have_rotated_txn(
) -> bool:
# We don't want to clear out too much at a time, so we bound our
# deletes.
batch_size = 10000
batch_size = self._rotate_count
Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, and this is just so that it's easier to mess about with via the manhole

Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

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

lgtm!

@erikjohnston erikjohnston merged commit f1711e1 into develop Jul 11, 2022
@erikjohnston erikjohnston deleted the erikj/remove_rotate_delay branch July 11, 2022 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants