mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Config: Shorten usage description for "wakeup-interval" flag
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -222,7 +222,7 @@ var Flags = CliFlags{
|
||||
}}, {
|
||||
Flag: cli.StringFlag{
|
||||
Name: "wakeup-interval, i",
|
||||
Usage: "`TIME` between facial recognition, file sync, and metadata maintenance worker runs (1-86400s)",
|
||||
Usage: "`TIME` between facial recognition, file sync, and metadata worker runs (1-86400s)",
|
||||
Value: DefaultWakeupInterval.String(),
|
||||
EnvVar: EnvVar("WAKEUP_INTERVAL"),
|
||||
}}, {
|
||||
|
||||
@@ -102,7 +102,7 @@ func Shutdown() {
|
||||
}
|
||||
}
|
||||
|
||||
// RunMeta runs the metadata maintenance worker once.
|
||||
// RunMeta runs the metadata worker once.
|
||||
func RunMeta(conf *config.Config) {
|
||||
if !mutex.WorkersRunning() {
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user