lower threshold for tps warning bar
This commit is contained in:
parent
eb2cfff9b4
commit
8e2ffe53ed
|
@ -16,7 +16,7 @@ const getRecentPerformance = async (setShow, setTps) => {
|
||||||
const totalTransactions = sumBy(response, 'numTransactions')
|
const totalTransactions = sumBy(response, 'numTransactions')
|
||||||
const tps = totalTransactions / totalSecs
|
const tps = totalTransactions / totalSecs
|
||||||
|
|
||||||
if (tps < 1800) {
|
if (tps < 1500) {
|
||||||
setShow(true)
|
setShow(true)
|
||||||
setTps(tps)
|
setTps(tps)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue