Files
photoprism/internal/mutex/mutex_test.go
Michael Mayer 0e7c91f1b6 Config: Allow scheduling of indexing and backup tasks #2495 #2608 #4243
Note that this is "bleeding edge" functionality and that the newly added
config option PHOTOPRISM_BACKUP_RETAIN can be set, but does not have any
effect yet. Feedback welcome!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-11 19:11:49 +02:00

12 lines
154 B
Go

package mutex
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestWorkersRunning(t *testing.T) {
assert.False(t, WorkersRunning())
}