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

Keep FIFO order in PriorityQueue #30

Merged
merged 1 commit into from May 25, 2020
Merged

Keep FIFO order in PriorityQueue #30

merged 1 commit into from May 25, 2020

Conversation

pamil
Copy link
Contributor

@pamil pamil commented May 25, 2020

Sorts them first by priority descending, then by the order in which they were added ascending.

@pamil pamil merged commit afd1238 into Sylius:master May 25, 2020
@pamil pamil deleted the fix-sorting branch May 25, 2020 09:22
lchrusciel added a commit to Sylius/Registry that referenced this pull request May 26, 2020
This PR was merged into the 1.5-dev branch.

Discussion
----------

Couldn't reproduce it in PHPSpec, but it replicates Sylius/SyliusFixturesBundle#30.

Commits
-------

20a856e Keep FIFO order for prioritized registry
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

2 participants