make getMaxGraphDataLength/getMaxServerGraphDataLength methods static
This commit is contained in:
@ -151,14 +151,6 @@ class PingController {
|
||||
}, version.protocolId)
|
||||
}
|
||||
}
|
||||
|
||||
getMaxServerGraphDataLength () {
|
||||
return Math.ceil(config.serverGraphDuration / config.rates.pingAll)
|
||||
}
|
||||
|
||||
getMaxGraphDataLength () {
|
||||
return Math.ceil(config.graphDuration / config.rates.pingAll)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PingController
|
||||
|
Reference in New Issue
Block a user