mirror of
https://github.com/donavon04/licensetrackerbackend.git
synced 2025-01-18 08:40:57 -07:00
Changed pollrate
This commit is contained in:
parent
720ad56a7a
commit
1ce3dbadc9
5
app.js
5
app.js
@ -15,9 +15,6 @@ const dbpassword = process.env.DBPASSWORD || "U&P7UH1mhRG@JF2K";
|
|||||||
const db = process.env.DB || "LicenseTracker";
|
const db = process.env.DB || "LicenseTracker";
|
||||||
|
|
||||||
|
|
||||||
let pollRate = "1000"; //Initialize the value
|
|
||||||
|
|
||||||
|
|
||||||
// Database details
|
// Database details
|
||||||
const pool = mariadb.createPool({
|
const pool = mariadb.createPool({
|
||||||
host: "192.168.2.56",
|
host: "192.168.2.56",
|
||||||
@ -27,7 +24,7 @@ const pool = mariadb.createPool({
|
|||||||
});
|
});
|
||||||
|
|
||||||
//Initialize pollrate variable
|
//Initialize pollrate variable
|
||||||
let pollrate = 5000; // 5 Seconds
|
let pollrate = "5000"; // 5 Seconds
|
||||||
|
|
||||||
//Api Key
|
//Api Key
|
||||||
const token = "&v94gt8ZHFTTTeuT";
|
const token = "&v94gt8ZHFTTTeuT";
|
||||||
|
Loading…
Reference in New Issue
Block a user