Hopefully removing the tracepot log for library updates being cancelled
This commit is contained in:
parent
d40b5484a8
commit
257b28141e
1 changed files with 7 additions and 2 deletions
|
@ -356,8 +356,13 @@ class LibraryUpdateService(
|
|||
jobCount.andIncrement
|
||||
val list = mangaToUpdateMap.keys.map { source ->
|
||||
async {
|
||||
requestSemaphore.withPermit {
|
||||
updateMangaInSource(source, downloadNew, categoriesToDownload)
|
||||
try {
|
||||
requestSemaphore.withPermit {
|
||||
updateMangaInSource(source, downloadNew, categoriesToDownload)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e)
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue