mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -20,7 +20,7 @@ func CancelAll() {
|
||||
FacesWorker.Cancel()
|
||||
}
|
||||
|
||||
// WorkersRunning checks if a worker is currently running.
|
||||
func WorkersRunning() bool {
|
||||
// IndexWorkersRunning checks if a worker is currently running.
|
||||
func IndexWorkersRunning() bool {
|
||||
return MainWorker.Running() || SyncWorker.Running() || ShareWorker.Running() || MetaWorker.Running() || FacesWorker.Running()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user