Aniworld/config/testing/config.json

40 lines
953 B
JSON

{
"database": {
"url": "sqlite:///data/database/anime_test.db",
"pool_size": 1,
"echo": false
},
"redis": {
"url": "redis://localhost:6379/2",
"socket_timeout": 5,
"max_connections": 5
},
"logging": {
"level": "WARNING",
"format": "simple",
"log_to_file": false,
"log_to_console": true
},
"security": {
"session_timeout": 3600,
"csrf_enabled": false,
"secure_cookies": false,
"testing": true
},
"performance": {
"cache_timeout": 60,
"enable_compression": false
},
"downloads": {
"max_concurrent": 1,
"timeout": 30,
"retry_attempts": 1,
"download_path": "data/temp/test_downloads",
"temp_path": "data/temp/test"
},
"testing": {
"mock_external_apis": true,
"fast_mode": true,
"cleanup_after_tests": true
}
}