diff --git a/app/utils/runtimeCheckLogs.ts b/app/utils/runtimeCheckLogs.ts index 4831f51..a94cf04 100644 --- a/app/utils/runtimeCheckLogs.ts +++ b/app/utils/runtimeCheckLogs.ts @@ -79,7 +79,7 @@ export async function runtimeCheckLogs(folderPath) { const filePath = `${folderPath}/${fileName}`; const scan = fs.watchFile( filePath, - { interval: 5000 }, + { interval: 300000 }, async (eventType) => { //check special item, extra RAM, error in log let lines = []; diff --git a/manage-view/src/App.js b/manage-view/src/App.js index 28d4025..21195a5 100644 --- a/manage-view/src/App.js +++ b/manage-view/src/App.js @@ -17,10 +17,7 @@ function App() { }> {/* Render the UserProfile component */} - -

abshjvsakjgvhaskj

- }> + }> diff --git a/manage-view/src/pages/ManageValues.jsx b/manage-view/src/pages/ManageValues.jsx index f60ecde..2976f53 100644 --- a/manage-view/src/pages/ManageValues.jsx +++ b/manage-view/src/pages/ManageValues.jsx @@ -1,6 +1,7 @@ import axios from "axios"; import React, { useEffect, useState } from "react"; import { addKeyValue, deleteValue, getKeyValues } from "../api/apiLog"; +import { Link } from "react-router-dom"; const ManageValues = () => { const [keyValue, setKeyValue] = useState([]); const [key, setKey] = useState([]);