Skip to content

Commit

Permalink
fix: useless logs costing grafana cost
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Mar 9, 2024
1 parent 5eae6a7 commit 966c724
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/domain/search_core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ class SearchCore {
const referer = "https://online.ktmb.com.my/";

const proxy1 = this.proxy;
this.#logger.info({ proxy: proxy1 }, "Using Proxy");
const resp = await f("https://shuttleonline.ktmb.com.my/Home/Shuttle", {
headers: {
...defaultHeaders,
Expand Down Expand Up @@ -139,7 +138,6 @@ class SearchCore {
};

const proxy1 = this.proxy;
this.#logger.info({ proxy: proxy1 }, "Using Proxy");
const resp = await f("https://shuttleonline.ktmb.com.my/ShuttleTrip", {
headers: {
...htmlHeaders,
Expand Down Expand Up @@ -175,7 +173,6 @@ class SearchCore {
const referer = "https://shuttleonline.ktmb.com.my/ShuttleTrip";

const proxy1 = this.proxy;
this.#logger.info({ proxy: proxy1 }, "Using Proxy");
const init = {
headers: {
...jsonHeaders,
Expand Down

0 comments on commit 966c724

Please sign in to comment.