ModifyFavoritesRange concurrently
Order?
This commit is contained in:
1 parent
ed26cb8f35
commit
6b11773da9
1 file changed
+1
-1
@@ -505,6 +505,6 @@ object EhEngine {
|
||||
}
|
||||
|
||||
suspend fun modifyFavoritesRange(galleryList: List<Pair<Long, String>>, dstCat: Int) {
|
||||
galleryList.forEach { (gid, token) -> modifyFavorites(gid, token, dstCat) }
|
||||
galleryList.parMap(concurrency = Settings.multiThreadDownload) { (gid, token) -> modifyFavorites(gid, token, dstCat) }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user