From adc99dc29ae93ebf5220499f5425d57e1d2630be Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 3 Nov 2017 16:03:39 +0900 Subject: [PATCH] tomcat --- src/ts/@overflow/metric/react/components/TomcatMetric.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 { - + {/* */}