mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00

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>
12 lines
154 B
Go
12 lines
154 B
Go
package mutex
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestWorkersRunning(t *testing.T) {
|
|
assert.False(t, WorkersRunning())
|
|
}
|