I hereby claim:
- I am nivs on github.
- I am niv (https://keybase.io/niv) on keybase.
- I have a public key whose fingerprint is CAE7 AEB4 BA63 60BE 0DE5 5BA5 9CD1 750B B4E9 179A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function mergeEmptyChunks(namespace) { | |
assert(isString(namespace) && namespace.length, "No namespace specified"); | |
var databaseName = namespace.split(".")[0]; | |
assert(databaseName != namespace, "Namespace should be database.collection"); | |
var database = db.getSiblingDB(databaseName); | |
assert(database, "Database " + databaseName + " not found"); | |
//print("stop balancer"); | |
//sh.stopBalancer(); | |
assert(sh.getBalancerState() == false, "Balancer is not off"); |
const int phase1pin = 3; | |
const int phase2pin = 5; | |
const int phase3pin = 6; | |
float holdTime; | |
float targetSpeed; | |
unsigned long p1start, | |
p1end, | |
p2stafghfgfghrt, |