Hopefully removing the tracepot log for library updates being cancelled

This commit is contained in:
Jay 2020-05-21 23:02:53 -04:00
parent d40b5484a8
commit 257b28141e

View file

@ -356,9 +356,14 @@ class LibraryUpdateService(
jobCount.andIncrement
val list = mangaToUpdateMap.keys.map { source ->
async {
try {
requestSemaphore.withPermit {
updateMangaInSource(source, downloadNew, categoriesToDownload)
}
} catch (e: Exception) {
Timber.e(e)
false
}
}
}
val results = list.awaitAll()