Skip to content
Snippets Groups Projects
Commit a816c3bb authored by Jono Wenger's avatar Jono Wenger
Browse files

Re-enable checking of cmix follower in purge

parent b97dd86f
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
......@@ -61,11 +61,11 @@ func Purge(_ js.Value, args []js.Value) interface{} {
}
// Verify all Cmix followers are stopped
// if n := atomic.LoadUint64(&numClientsRunning); n != 0 {
// utils.Throw(utils.TypeError, errors.Errorf(
// "%d cMix followers running; all need to be stopped", n))
// return nil
// }
if n := atomic.LoadUint64(&numClientsRunning); n != 0 {
utils.Throw(utils.TypeError, errors.Errorf(
"%d cMix followers running; all need to be stopped", n))
return nil
}
// Get all indexedDb database names
databaseList, err := GetIndexedDbList()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment