system.py 506 B

1234567891011121314151617181920212223
  1. """系统级功能开关."""
  2. SYSTEM_CONFIG = {
  3. 'enable_panorama_camera': True,
  4. 'enable_detection': True,
  5. }
  6. # 存储配置
  7. STORAGE_CONFIG = {
  8. 'captures': {
  9. 'base_dir': 'data/captures',
  10. 'keep_local_copy': False,
  11. 'retention_days': 1,
  12. 'max_files': 2000,
  13. 'cleanup_interval_seconds': 3600,
  14. },
  15. 'previews': {
  16. 'base_dir': 'data/previews',
  17. 'retention_days': 1,
  18. 'max_files': 1000,
  19. 'cleanup_interval_seconds': 3600,
  20. },
  21. }