[mob][photos] Fix indexing pausing
This commit is contained in:
parent
1e1e629891
commit
11402d7819
1 changed files with 1 additions and 4 deletions
|
@ -152,6 +152,7 @@ class FaceMlService {
|
|||
_logger.info(
|
||||
"MLController allowed running ML, faces indexing starting",
|
||||
);
|
||||
}
|
||||
unawaited(indexAndClusterAll());
|
||||
}
|
||||
} else {
|
||||
|
@ -287,10 +288,6 @@ class FaceMlService {
|
|||
return _functionLock.synchronized(() async {
|
||||
_resetInactivityTimer();
|
||||
|
||||
if (_shouldPauseIndexingAndClustering == false) {
|
||||
return null;
|
||||
}
|
||||
|
||||
final completer = Completer<dynamic>();
|
||||
final answerPort = ReceivePort();
|
||||
|
||||
|
|
Loading…
Reference in a new issue