Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trim stage to default to shorter queues. #37

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Conversation

jameinel
Copy link
Member

We changed the txn commit code to refuse if the queue is longer than
1000. However, we only trim down to 1000, so the resume stage ends up
having no room to work. This way we trim the queue down smaller, and
give a knob in case we find we're doing it wrong.

We changed the txn commit code to refuse if the queue is longer than
1000. However, we only trim down to 1000, so the resume stage ends up
having no room to work. This way we trim the queue down smaller, and
give a knob in case we find we're doing it wrong.
This allows us to build using 'snapcraft' again. It isn't perfect, but
it is a step in the right direction.

Note that mgpurge can only be built using go 1.12 right now (1.13
complains about a missing main function.)
Ideally we would get off of GB entirely, and just use go.mod.
@jameinel jameinel merged commit 3f55021 into master Jul 14, 2021
@jameinel jameinel deleted the trim-queue-length branch July 14, 2021 18:57
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.

None yet

1 participant