Files
flvx/vite-frontend
sagitchu 30e1473f06 fix(traffic): fix flow counter inflation from TOCTOU race in agent traffic reporter
Replace read-then-subtract pattern in collectAndReport with atomic
swap-to-zero to eliminate race where AddTraffic increments counters
between snapshot and clearReportedTraffic, causing residual traffic
to accumulate indefinitely and inflate user flow counters.

Also add defensive check in processFlowItem to skip AddFlow when
forward no longer exists, and send DeleteService to clean up orphaned
agent services.
2026-04-21 14:32:08 +08:00
..
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2026-01-06 11:30:39 +08:00
2025-07-02 15:40:14 +08:00
2026-04-21 09:19:02 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00

Vite & HeroUI Template

This is a template for creating applications using Vite and HeroUI (v2).

Try it on CodeSandbox

Technologies Used

How to Use

To clone the project, run the following command:

git clone https://github.com/frontio-ai/vite-template.git

Install dependencies

You can use one of them npm, yarn, pnpm, bun, Example using npm:

npm install

Run the development server

npm run dev

Setup pnpm (optional)

If you are using pnpm, you need to add the following code to your .npmrc file:

public-hoist-pattern[]=*@heroui/*

After modifying the .npmrc file, you need to run pnpm install again to ensure that the dependencies are installed correctly.

License

Licensed under the MIT license.