This commit is contained in:
Deluan 2024-05-01 23:09:04 -04:00
parent a4c2232041
commit 7c5eec715d
3 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ func runNavidrome() {
g, ctx := errgroup.WithContext(ctx)
g.Go(startServer(ctx))
g.Go(startSignaler(ctx))
g.Go(startSignaller(ctx))
g.Go(startScheduler(ctx))
g.Go(schedulePeriodicScan(ctx))

View File

@ -7,7 +7,7 @@ import (
)
// Windows and Plan9 don't support SIGUSR1, so we don't need to start a signaler
func startSignaler(ctx context.Context) func() error {
func startSignaller(ctx context.Context) func() error {
return func() error {
return nil
}

View File

@ -14,7 +14,7 @@ import (
const triggerScanSignal = syscall.SIGUSR1
func startSignaler(ctx context.Context) func() error {
func startSignaller(ctx context.Context) func() error {
log.Info(ctx, "Starting signaler")
scanner := GetScanner()