photoprism/internal/mutex/atomic.go

10 lines
176 B
Go
Raw Normal View History

package mutex
import (
"sync/atomic"
)
// Restart signals that the application should be restarted,
// e.g. after an update or a config changes.
var Restart = atomic.Bool{}