mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Rate limit wait period now adjusts correctly
This commit is contained in:
@@ -47,6 +47,8 @@ export class DownloadService {
|
||||
if (this.downloads.findIndex(oldDownload => oldDownload.versionID == download.versionID) == -1) {
|
||||
// If this is a new download item, don't call debouncedCallback; it may miss adding new versions to the list
|
||||
callback(download)
|
||||
} else if (download.type == 'wait') {
|
||||
callback(download) // Many wait events can be recieved at once
|
||||
} else {
|
||||
debouncedCallback(download)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user