fix
All checks were successful
Publish Docker Images / docker (push) Successful in 1m35s

This commit is contained in:
Lee 2023-11-16 19:32:00 +00:00
parent 5f7cdbf8d9
commit c32b0cfd05

@ -96,7 +96,9 @@ async function logRequestToDatabase({
try {
InfluxWriteApi.writePoint(point);
InfluxWriteApi.writePoint(
new Point("proxy").intField("totalRequests", totalRequests)
new Point("proxy")
.intField("totalRequests", totalRequests)
.timestamp(Date.now())
);
} catch (ex) {
console.log("Failed to write to influx");