Update README and added .169 configuration
This commit is contained in:
@ -337,9 +337,9 @@ class Asset {
|
||||
}
|
||||
let assetIds = configs.assets.ids;
|
||||
|
||||
console.log('id', this.id, 'total', assetIds)
|
||||
console.log('assetIds[0]', assetIds[0])
|
||||
console.log('max', Math.max(...assetIds))
|
||||
// console.log('id', this.id, 'total', assetIds)
|
||||
// console.log('assetIds[0]', assetIds[0])
|
||||
// console.log('max', Math.max(...assetIds))
|
||||
if(Math.max(...assetIds) == this.id) {
|
||||
setTimeout(() => {
|
||||
utils.writeLog('STOP')
|
||||
|
@ -110,6 +110,7 @@ class Mumble {
|
||||
})
|
||||
.on('disconnect', function (err) {
|
||||
// err = possible error
|
||||
console.log('err', err)
|
||||
utils.writeErrorLog(`ERROR_MUMBLE_DISCONNECT`);
|
||||
})
|
||||
.on('error', function (err) {
|
||||
|
@ -45,9 +45,13 @@ class Simulator {
|
||||
|
||||
testing_period = this._getRandomInt(testing_period);
|
||||
setTimeout(() => {
|
||||
|
||||
new Asset(id, this.configs, this.token);
|
||||
}, i * testing_period);
|
||||
|
||||
// const amount = 15;
|
||||
// for(let i = 0; i < amount; i++) {
|
||||
// new Asset(id, this.configs, this.token);
|
||||
// }
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user