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

Implement proper queue for reconciling logic #196

Merged
merged 3 commits into from
Mar 28, 2023
Merged

Implement proper queue for reconciling logic #196

merged 3 commits into from
Mar 28, 2023

Conversation

ghost
Copy link

@ghost ghost commented Mar 28, 2023

Description

This queue ensures that we don't requeue items which are already queued, and ensures that if something is already queued, the queue isn't replaced by the next poll reseting the ordering.

Type of Change

[X] Bug Fix
[ ] New Feature
[ ] Breaking Change
[X] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@ghost ghost self-requested a review as a code owner March 28, 2023 11:06
This queue ensure that we don't requeue items which are already queued,
and ensures that if something is already queued, the queue isn't replaced
by the next poll reseting the ordering.
Also add doc comments for all the functions and interfaces for Enqueuer
and Dequeuer to allow alternative implementations to be passed to the
Poller/Reconciler.
@akpsgit akpsgit enabled auto-merge (squash) March 28, 2023 15:35
@akpsgit akpsgit merged commit 445c88d into main Mar 28, 2023
@akpsgit akpsgit deleted the fix_queue_logic branch March 28, 2023 15:59
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