diff --git a/src/ts/@overflow/metric/react/components/TomcatMetric.tsx b/src/ts/@overflow/metric/react/components/TomcatMetric.tsx index 5f051c1..6f3526f 100644 --- a/src/ts/@overflow/metric/react/components/TomcatMetric.tsx +++ b/src/ts/@overflow/metric/react/components/TomcatMetric.tsx @@ -30,9 +30,9 @@ export class TomcatMetric extends React.Component { public componentWillMount(): void { const data = []; for (let i = 0; i < 10; i++) { - let maxThread = Math.floor(Math.random() * 10000) + 1000; - let currentThread = Math.floor(Math.random() * 10000) + 1000; - let busyThread = Math.floor(Math.random() * 10000) + 1000; + let maxThread = Math.floor(Math.random() * 100) + 10; + let currentThread = Math.floor(Math.random() * 100) + 10; + let busyThread = Math.floor(Math.random() * 100) + 10; let elem = { 'id': i, 'maxThread': maxThread, 'currentThread': currentThread, 'busyThread': busyThread }; data[i] = elem; @@ -67,7 +67,7 @@ export class TomcatMetric extends React.Component { - + {/* */}