-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from ISISComputingGroup/80_fix_memory_leak
fix memory leak by putting setInterval() in a useeffect
- Loading branch information
Showing
16 changed files
with
928 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { IfcPVWSRequest, PVWSRequestType } from "@/app/types"; | ||
|
||
export const instListPV = "CS:INSTLIST"; | ||
export const socketURL = | ||
process.env.NEXT_PUBLIC_WS_URL || "ws://localhost:8080/pvws/pv"; | ||
|
||
export const instListSubscription: IfcPVWSRequest = { | ||
type: PVWSRequestType.subscribe, | ||
pvs: [instListPV], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.