Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 850b1f54 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

vcard4android: better handling of (invalid) photos; reduce RAM usage by reducing sync threads a bit

parent f24c5912
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L
     */
    val workDispatcher = Singleton.getInstanceByKey("SyncManager.workDispatcher") {
        ThreadPoolExecutor(
            0, Integer.min(Runtime.getRuntime().availableProcessors(), 6),
            0, Integer.min(Runtime.getRuntime().availableProcessors(), 4),
            10, TimeUnit.SECONDS, LinkedBlockingQueue()
        ).asCoroutineDispatcher()
    }
Compare f1b5c5a3 to 1af1eba9
Original line number Diff line number Diff line
Subproject commit f1b5c5a3bcc1ba6eb357727092a7cfe049b68b6d
Subproject commit 1af1eba9d22f777b5c3a8fa047ab1df8772d5f18