Skip to content

Generation of random manual takes longer when the max number is being reached #5

Description

@MKruger777

When deciding which will be the next manual to be sent, the completed file (containing the ids of the manuals already sent) is being checked.
If the random exists in the completed file, a new random number is generated.
This continues until a number is found that does NOT already exist in the completed file.

This generation of random manual takes longer as the number range approaches its end/max

The symptom is that the process starts to become slow

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions