Files
CC-Switch/src/lib
Jason 3f28648931 fix(query): prevent redundant usage queries when switching apps
Add staleTime and gcTime to useUsageQuery to avoid triggering
unnecessary API calls when switching between app tabs. The staleTime
is set dynamically based on the auto-refresh interval (or 5 minutes
by default), and gcTime is set to 10 minutes to preserve cache after
component unmount.
2025-11-26 19:34:00 +08:00
..
2025-11-25 09:30:55 +08:00
2025-11-22 16:57:09 +08:00
2025-11-25 09:30:55 +08:00
2025-10-16 10:00:22 +08:00