fix random connection.end and repeated sql connect

This commit is contained in:
newtbot committed 2023-12-27 16:44:21 +08:00
1 parent 699b8f88df
commit c38d4eb8bb
7 files changed
+81 -30

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ let region = ["central", "north-east", "north", "east", "west"];
function generateRandomData() {
const psiData = getRandomValue(0, 500);
const humidityData = getRandomValue(0, 100);
const o3Data = getRandomValue(0, 600); //max 600
const o3Data = getRandomValue(0, 600); //max 600
const no2Data = getRandomValue(0, 1000); //max 1000
const so2Data = getRandomValue(0, 1000); //max 1000
const coData = getRandomValue(0 , 100);