mirror of
https://github.com/yusufipk/better-ai-srt-translation.git
synced 2026-09-11 10:56:18 +00:00
perf: optimize defaults - chunk size 20 for precision, 100 parallel requests
- Changed chunk size from 75 to 20 for better subtitle alignment - Increased parallel requests from 50 to 100 for faster processing - Updated README with chunk size recommendation for precision - Updated license to GPL-3.0
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
// ============================================
|
||||
|
||||
const DEFAULT_MODEL = 'google/gemini-3-flash-preview';
|
||||
const DEFAULT_PARALLEL = 50;
|
||||
const DEFAULT_PARALLEL = 100;
|
||||
const MAX_RETRIES = 3;
|
||||
const RETRY_DELAY_MS = 1000; // 1 second
|
||||
const REQUEST_TIMEOUT_MS = 30000; // 30 seconds
|
||||
|
||||
Reference in New Issue
Block a user