refactor(config): remove redundant Spring Boot config and fix injection patterns (#314)
* refactor(config): remove redundant Spring Boot config and fix injection patterns - Delete TransactionConfig (Spring Boot auto-configures JpaTransactionManager) - Delete MultipartConfig (replaced with spring.servlet.multipart.* properties) - Delete BeanConfig (RestTemplate moved to RestClientConfig, WS stats to WebSocketConfig) - Remove duplicate @EnableScheduling from TaskSchedulerConfig - Fix @ConfigurationProperties: remove @Component from AppProperties, change @Configuration to @ConfigurationProperties on BookmarkProperties - Move RestTemplate bean to RestClientConfig - Add WS stats suppression to WebSocketConfig via ApplicationReadyEvent - Remove @Autowired from KepubConversionService, GoogleParser, HardcoverBookSearchService (single-constructor injection) - Remove redundant two-arg constructor from GoogleParser - Fix CbxReaderService pre-existing compile error (transferEntryTo) * refactor(config): add primary RestTemplate bean and include audiobook settings in persistence configuration
This commit is contained in:
@@ -43,7 +43,10 @@ spring:
|
||||
fail-on-null-for-primitives: false
|
||||
servlet:
|
||||
multipart:
|
||||
enabled: false
|
||||
enabled: true
|
||||
max-file-size: 1024MB
|
||||
max-request-size: 1024MB
|
||||
file-size-threshold: 0
|
||||
mvc:
|
||||
async:
|
||||
request-timeout: 600000
|
||||
|
||||
Reference in New Issue
Block a user