Skip to content

use curbside_strictness instead force_curbside - #3024

Merged
karussell merged 2 commits into
masterfrom
curbside_strictness
Jun 18, 2024
Merged

karussell merged 2 commits into
masterfrom
curbside_strictness

Conversation

@karussell

@karussell karussell commented Jun 17, 2024 •

Copy link
Copy Markdown
Member

Use curbside_strictness="strict" for force_curbside=true and curbside_strictness="soft" for false to later allow a third option ("ignore").

private static boolean getForceCurbsides(PMap hints) {
return hints.getBool(FORCE_CURBSIDE, true);
private static String getCurbsideStrictness(PMap hints) {
if (hints.has("force_curbside") && hints.getBool("force_curbside", true)) return "strict"; // legacy

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If force_curbside=true should still be supported, there should also be support for force_curbside=false?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ah, sure. fixed.

@karussell karussell added this to the 10.0 milestone Jun 17, 2024
@karussell
karussell merged commit db87593 into master Jun 18, 2024
@karussell
karussell deleted the curbside_strictness branch June 18, 2024 08:22

This branch was previously deployed

1 inactive deployment
benchmarks — 7943805e Deployed Jun 17, 2024 by karussell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants