Skip to content

Commit

Permalink
disable /local/nodes orch request
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Jul 10, 2023
1 parent d680392 commit 3495b21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions container/shim/src/bin/shim.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import fs from "node:fs/promises";
import http from "node:http";
import { validateAddressString } from "@glif/filecoin-address";

Expand All @@ -16,8 +17,6 @@ import {
import { trapServer } from "../utils/trap.js";
import { debug } from "../utils/logging.js";
import startLogIngestor from "../modules/log_ingestor.js";
import { refreshLocalNodes } from "../modules/local_nodes.js";
import fs from "node:fs/promises";

// verify that node id is a valid uuidv4
if (!NODE_ID.match(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/)) {
Expand Down Expand Up @@ -52,7 +51,7 @@ setTimeout(async function () {
// run log ingestor process in background (starts immediately and keeps running periodically)
startLogIngestor();

refreshLocalNodes();
// refreshLocalNodes();
}, 500);

const server = http.createServer(app);
Expand Down

0 comments on commit 3495b21

Please sign in to comment.