Cuong Manh Le
d71d1341b6
refactor(prog): move network monitoring outside listener loop
...
Move the network monitoring goroutine initialization outside the listener
loop to prevent it from being started multiple times. Previously, the
network monitoring was started once per listener during first run, which
was unnecessary and could lead to multiple monitoring instances.
The change ensures network monitoring is started only once per program
execution cycle, improving efficiency and preventing potential resource
waste from duplicate monitoring goroutines.
- Extract network monitoring goroutine from listener loop
- Start network monitoring once per run cycle instead of per listener
- Maintain same functionality while improving resource usage
2025-08-12 16:49:05 +07:00
..
2024-02-07 14:40:18 +07:00
2025-01-24 14:54:20 +07:00
2024-12-19 22:10:34 +07:00
2025-01-31 20:04:03 +07:00
2025-02-18 20:25:13 +07:00
2024-08-07 15:51:11 +07:00
2025-05-15 16:59:24 +07:00
2025-07-15 23:09:54 +07:00
2023-08-15 18:22:38 +07:00
2025-01-20 14:59:31 +07:00
2023-08-15 18:22:38 +07:00
2025-03-26 23:18:36 +07:00
2025-02-21 20:44:34 +07:00
2025-08-12 16:46:57 +07:00
2023-08-15 18:22:38 +07:00
2024-10-24 13:05:48 +07:00
2024-10-24 13:05:48 +07:00
2025-03-26 23:17:50 +07:00
2025-02-18 20:31:08 +07:00
2025-02-21 20:44:27 +07:00
2023-12-13 14:53:29 +07:00
2024-05-24 18:21:07 +07:00
2023-08-15 18:22:38 +07:00
2025-02-21 20:44:27 +07:00
2024-08-07 15:51:11 +07:00
2024-08-07 15:51:11 +07:00
2025-01-20 15:03:27 +07:00
2025-02-10 18:45:17 +07:00
2025-02-10 18:45:17 +07:00
2024-12-19 21:34:26 +07:00
2025-01-31 20:04:03 +07:00
2023-11-06 20:01:03 +07:00
2023-11-06 20:01:03 +07:00
2023-09-22 18:42:21 +07:00
2023-08-15 18:22:38 +07:00
2023-11-16 20:55:39 +07:00
2025-02-18 20:25:13 +07:00
2025-05-15 17:00:59 +07:00
2025-05-15 17:00:59 +07:00
2023-08-15 18:22:38 +07:00
2025-05-15 17:00:59 +07:00
2023-08-15 18:22:38 +07:00
2024-12-19 21:34:37 +07:00
2025-05-15 17:00:59 +07:00
2023-08-15 18:22:38 +07:00
2023-08-15 18:22:38 +07:00
2024-05-09 18:39:30 +07:00
2025-06-04 18:36:51 +07:00
2025-02-26 00:44:13 +07:00
2025-07-15 20:59:57 +07:00
2025-02-26 00:44:13 +07:00
2025-08-12 16:49:05 +07:00
2024-08-07 15:51:11 +07:00
2023-11-06 20:01:03 +07:00
2023-11-06 20:01:03 +07:00
2024-08-07 15:54:20 +07:00
2025-06-04 18:36:51 +07:00
2024-02-22 18:15:36 +07:00
2025-02-10 18:55:36 +07:00
2025-05-15 17:00:59 +07:00
2025-05-15 17:00:59 +07:00
2024-08-07 15:51:11 +07:00
2024-08-07 15:51:11 +07:00
2024-08-16 13:50:11 +07:00
2025-03-26 23:18:36 +07:00
2025-03-26 23:18:36 +07:00
2025-03-26 23:18:36 +07:00
2023-08-15 18:22:38 +07:00
2025-02-24 18:36:08 +07:00
2025-03-26 23:18:04 +07:00
2024-12-19 21:34:21 +07:00
2025-02-24 18:36:08 +07:00
2025-03-26 23:18:04 +07:00
2025-02-11 19:27:41 +07:00
2024-02-07 14:40:18 +07:00