mirror of
https://github.com/gotson/komga.git
synced 2025-12-22 00:13:30 +01:00
feat(tasks): background tasks persistency
tasks are persisted on disk and will survive a restart
This commit is contained in:
parent
3e081f2885
commit
1a31c89712
3 changed files with 9 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -39,3 +39,4 @@ nbdist/
|
|||
|
||||
### Komga
|
||||
/komga/src/main/resources/public/
|
||||
/komga/artemis/
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ komga:
|
|||
validity: 2592000 # 1 month
|
||||
# libraries-scan-cron: "*/5 * * * * ?" #every 5 seconds
|
||||
libraries-scan-cron: "-" #disable
|
||||
libraries-scan-startup: true
|
||||
# libraries-scan-startup: true
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:h2:mem:testdb
|
||||
|
|
@ -15,6 +15,9 @@ spring:
|
|||
generate_statistics: true
|
||||
session.events.log: false
|
||||
format_sql: true
|
||||
artemis:
|
||||
embedded:
|
||||
data-directory: ./artemis
|
||||
logging:
|
||||
file:
|
||||
max-history: 1
|
||||
|
|
|
|||
|
|
@ -43,6 +43,10 @@ spring:
|
|||
prefix: classpath:/public/
|
||||
mvc:
|
||||
throw-exception-if-no-handler-found: true
|
||||
artemis:
|
||||
embedded:
|
||||
persistent: true
|
||||
data-directory: ~/.komga/artemis
|
||||
|
||||
server:
|
||||
servlet.session.timeout: 7d
|
||||
|
|
|
|||
Loading…
Reference in a new issue