mirror of
https://github.com/readur/readur.git
synced 2025-12-21 14:20:46 -06:00
fix(tests): fix tests for latest ocr file size change
This commit is contained in:
@@ -193,6 +193,8 @@ pub fn create_test_config() -> Config {
|
||||
concurrent_ocr_jobs: 2,
|
||||
ocr_timeout_seconds: 60,
|
||||
max_file_size_mb: 50,
|
||||
max_pdf_size_mb: 100,
|
||||
max_office_document_size_mb: 100,
|
||||
|
||||
// Performance
|
||||
memory_limit_mb: 256,
|
||||
|
||||
@@ -827,6 +827,8 @@ impl TestConfigBuilder {
|
||||
concurrent_ocr_jobs: self.concurrent_ocr_jobs,
|
||||
ocr_timeout_seconds: self.ocr_timeout_seconds,
|
||||
max_file_size_mb: self.max_file_size_mb,
|
||||
max_pdf_size_mb: 100,
|
||||
max_office_document_size_mb: 100,
|
||||
|
||||
// Performance
|
||||
memory_limit_mb: self.memory_limit_mb as usize,
|
||||
|
||||
Reference in New Issue
Block a user