Skip to content

Use safe default values #1148

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions