mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Backend: Rename PrismWorker to MetaWorker
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
@@ -9,10 +9,10 @@ var (
|
||||
MainWorker = Busy{}
|
||||
SyncWorker = Busy{}
|
||||
ShareWorker = Busy{}
|
||||
PrismWorker = Busy{}
|
||||
MetaWorker = Busy{}
|
||||
)
|
||||
|
||||
// WorkersBusy returns true if any worker is busy.
|
||||
func WorkersBusy() bool {
|
||||
return MainWorker.Busy() || SyncWorker.Busy() || ShareWorker.Busy() || PrismWorker.Busy()
|
||||
return MainWorker.Busy() || SyncWorker.Busy() || ShareWorker.Busy() || MetaWorker.Busy()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user