Skip to content

Use safe default values #1148

@RoyKas

Description

@RoyKas

In the leastexpensive.py market strategy defaults for the maximum pricing are "Inf". If requestors omit to set sensible limits, they pay the price. Since it takes some time to gather offers, the market strategy is likely to select the first provide it finds, even if it has absurd high pricing.
Why not set a safe default value like 0, to prevent unnecessary loss of GLM and annoying the few requestors we have. This will force them to set the limit, and if they don't care, set the limit to "Inf" themselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions