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
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