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

Fix deadline #2234

Merged
merged 4 commits into from
Jan 4, 2024
Merged

Fix deadline #2234

merged 4 commits into from
Jan 4, 2024

Conversation

fleupold
Copy link
Contributor

@fleupold fleupold commented Jan 2, 2024

Description

For performance reason we use a future that is shared across requests for different solver engine instances when prioritising orders. However, this future returns the entire auction instead of just the list of orders. This means that other aspects of the auction, such as deadline are also shared across solver instances.

This leads to solver engines that are configured with a specific deadline to sometimes receive auctions with deadlines that are configured for a different solver engine.

Changes

  • Only share list of orders in the future (not the entire auction)

How to test

Added an integration test, which is failing before that change

Related Issues

Fixes #2211

@fleupold fleupold requested a review from a team as a code owner January 2, 2024 08:10
Base automatically changed from multisolver_driver_tests to main January 3, 2024 14:17
@fleupold fleupold enabled auto-merge (squash) January 4, 2024 09:58
@fleupold fleupold merged commit 3c987e5 into main Jan 4, 2024
8 checks passed
@fleupold fleupold deleted the fix_deadline branch January 4, 2024 10:02
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2024
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.

bug: SeaSolver timeout
2 participants