[mob][ml] reduce parallel download to 5 for ios

This commit is contained in:
Neeraj Gupta
2024-08-22 14:03:06 +05:30
parent c42fd383a8
commit 6db9a6bedc

View File

@@ -57,7 +57,7 @@ class MLService {
bool _isIndexingOrClusteringRunning = false;
bool _shouldPauseIndexingAndClustering = false;
static const int _fileDownloadLimit = 10;
static final int _fileDownloadLimit = Platform.isIOS ? 5 : 10;
static const _kForceClusteringFaceCount = 8000;
/// Only call this function once at app startup, after that you can directly call [runAllML]