mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 21:00:16 +02: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
|
||||||
/komga/src/main/resources/public/
|
/komga/src/main/resources/public/
|
||||||
|
/komga/artemis/
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ komga:
|
||||||
validity: 2592000 # 1 month
|
validity: 2592000 # 1 month
|
||||||
# libraries-scan-cron: "*/5 * * * * ?" #every 5 seconds
|
# libraries-scan-cron: "*/5 * * * * ?" #every 5 seconds
|
||||||
libraries-scan-cron: "-" #disable
|
libraries-scan-cron: "-" #disable
|
||||||
libraries-scan-startup: true
|
# libraries-scan-startup: true
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:h2:mem:testdb
|
url: jdbc:h2:mem:testdb
|
||||||
|
|
@ -15,6 +15,9 @@ spring:
|
||||||
generate_statistics: true
|
generate_statistics: true
|
||||||
session.events.log: false
|
session.events.log: false
|
||||||
format_sql: true
|
format_sql: true
|
||||||
|
artemis:
|
||||||
|
embedded:
|
||||||
|
data-directory: ./artemis
|
||||||
logging:
|
logging:
|
||||||
file:
|
file:
|
||||||
max-history: 1
|
max-history: 1
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,10 @@ spring:
|
||||||
prefix: classpath:/public/
|
prefix: classpath:/public/
|
||||||
mvc:
|
mvc:
|
||||||
throw-exception-if-no-handler-found: true
|
throw-exception-if-no-handler-found: true
|
||||||
|
artemis:
|
||||||
|
embedded:
|
||||||
|
persistent: true
|
||||||
|
data-directory: ~/.komga/artemis
|
||||||
|
|
||||||
server:
|
server:
|
||||||
servlet.session.timeout: 7d
|
servlet.session.timeout: 7d
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue