mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 03:01:50 +01:00
Hopefully removing the tracepot log for library updates being cancelled
This commit is contained in:
parent
d40b5484a8
commit
257b28141e
@ -356,9 +356,14 @@ class LibraryUpdateService(
|
|||||||
jobCount.andIncrement
|
jobCount.andIncrement
|
||||||
val list = mangaToUpdateMap.keys.map { source ->
|
val list = mangaToUpdateMap.keys.map { source ->
|
||||||
async {
|
async {
|
||||||
|
try {
|
||||||
requestSemaphore.withPermit {
|
requestSemaphore.withPermit {
|
||||||
updateMangaInSource(source, downloadNew, categoriesToDownload)
|
updateMangaInSource(source, downloadNew, categoriesToDownload)
|
||||||
}
|
}
|
||||||
|
} catch (e: Exception) {
|
||||||
|
Timber.e(e)
|
||||||
|
false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val results = list.awaitAll()
|
val results = list.awaitAll()
|
||||||
|
Loading…
Reference in New Issue
Block a user