/
kan64
/
spreadsheet-lab
Обзор
Документация
Войти
/
kan64
/
spreadsheet-lab
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
server/src/main/resources/application.yml
50 строк
1 KB
Anton Kravchenkov
perf: Optimize queries
15 мар 2026, 23:49
15 мар 2026, 23:49
8f225c8
Код
Авторство
О чём код?
spring: application: name: server datasource: url: jdbc:postgresql://localhost:5432/spreadsheet_lab_db?socketTimeout=15000 username: spreadsheet_lab password: password driver-class-name: org.postgresql.Driver hikari: minimum-idle: 5 maximum-pool-size: 30 connection-timeout: 10000 idle-timeout: 300000 leak-detection-threshold: 60000 connection-init-sql: SET statement_timeout = 10000 liquibase: enabled: true change-log: classpath:/db/changelog/db.changelog-master.yaml jpa: open-in-view: false # Prevents SSE connections from holding DB connections in "idle in transaction" hibernate: ddl-auto: validate show-sql: true properties: hibernate: format_sql: true server: port: 8081 compression: enabled: true mime-types: application/json,application/javascript,text/css,text/html,text/plain,text/xml min-response-size: 1024 tomcat: threads: max: 200 app: sheets: cells-page-size: 100 jwt: secret: s3cr3tK3yF0rJWT$preadsh33tLabAppl1cat10nMustBe256B1ts expiration-ms: 86400000 logging: level: liquibase: INFO