alist/internal/device
okatu-loli 74c963dc47 feat(session): Added device limits and eviction policies
- Added a device limit, controlling the maximum number of devices using the `MaxDevices` configuration option.
- If the number of devices exceeds the limit, the configured eviction policy is used.
- If the policy is `evict_oldest`, the oldest device is evicted.
- Otherwise, an error message indicating too many devices is returned.
2025-08-29 18:19:31 +08:00
..
session.go feat(session): Added device limits and eviction policies 2025-08-29 18:19:31 +08:00