Config: Shorten usage description for "wakeup-interval" flag

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-05-12 18:42:47 +02:00
parent 1fe0bab4c1
commit e042b40975
2 changed files with 2 additions and 2 deletions

View File

@@ -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"),
}}, {

View File

@@ -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() {