mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-20 07:21:26 +02:00
fix(idlewatcher): correctly restart on config reload
This commit is contained in:
@@ -2,6 +2,7 @@ package config
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"iter"
|
||||
"net/http"
|
||||
|
||||
@@ -33,3 +34,5 @@ type State interface {
|
||||
|
||||
// could be nil
|
||||
var ActiveState synk.Value[State]
|
||||
|
||||
var ErrConfigChanged = errors.New("config changed")
|
||||
|
||||
Reference in New Issue
Block a user