RetroAchievements / RAIntegration

The DLL responsible to integrate emulators with RetroAchievements.org
https://retroachievements.org
MIT License
98 stars 22 forks source link

only upload one badge at a time #726

Closed Jamiras closed 3 years ago

Jamiras commented 3 years ago

When uploading multiple badges at the same time, there's a small chance that the server will allocate the same identifier to more than one of them.

We've seen this happen with separate users, though the likelihood of colliding with another user is much lower than the probability of colliding with yourself when using several parallel requests.

To minimize the chance of collision, badges now lock the queue, only allowing one to be uploaded at a time.