Clean
This commit is contained in:
parent
d78628b66a
commit
76a09b1473
1 changed files with 1 additions and 10 deletions
|
@ -11,6 +11,7 @@ import type { DedicatedMLWorker } from "services/ml/face.worker";
|
|||
import { MLSyncResult } from "services/ml/types";
|
||||
import { EnteFile } from "types/file";
|
||||
import { logQueueStats } from "./machineLearningService";
|
||||
|
||||
const LIVE_SYNC_IDLE_DEBOUNCE_SEC = 30;
|
||||
const LIVE_SYNC_QUEUE_TIMEOUT_SEC = 300;
|
||||
const LOCAL_FILES_UPDATED_DEBOUNCE_SEC = 30;
|
||||
|
@ -174,16 +175,6 @@ class MLWorkManager {
|
|||
}
|
||||
}
|
||||
|
||||
// Handlers
|
||||
private async appStartHandler() {
|
||||
log.info("appStartHandler");
|
||||
try {
|
||||
this.startSyncJob();
|
||||
} catch (e) {
|
||||
log.error("Failed in ML appStart Handler", e);
|
||||
}
|
||||
}
|
||||
|
||||
private async logoutHandler() {
|
||||
log.info("logoutHandler");
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue