[general] Set max connection pool size to 1 to prevent dead lock with sqlite

master
samnyan 2020-04-07 17:36:46 +09:00
parent c2b99bd164
commit 0c8f19d370
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ spring.flyway.locations=classpath:db/migration/{vendor}
########## For Sqlite ##########
spring.datasource.driver-class-name=org.sqlite.JDBC
spring.datasource.url=jdbc:sqlite:data/db.sqlite
spring.datasource.hikari.maximum-pool-size=1
#auto schema update will case sqlite error
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLiteDialect