Bootstrap

nohup java -jar productQualification.jar --spring.profiles.active=prod &

oot@product-qualification:~# nohup java -jar productQualification.jar --spring.profiles.active=prod &
[1] 16840
root@product-qualification:~# nohup: ignoring input and appending output to 'nohup.out'

1、application.yml

server:
  compression:
    enabled: true
  tomcat:
    basedir: logs
    accesslog:
      enabled: true
      directory: .
    max-threads: 3000
  servlet:
    session:
      timeout: 12h
#      timeout: 30
      cookie:
        name: VENDER_SID
spring:
  profiles:
    active: @profileActive@
#    active: test
  application:
    name: api
  servlet:
    multipart:
      max-file-size: 300MB
      max-request-size: 300MB
  datasource:
    druid:
      initial-size: 2
      min-idle: 2
      max-active: 50
      max-wait: 30000
      stat-view-servlet:
        login-username: admin
        login-password: productQualification
      remove-abandoned: false
      remove-abandoned-timeout-millis: 180000
      log-abandoned: false
  main:
    allow-bean-definition-overriding: true
feign:
  client:
    config:
      # 设置FooClient的超时时间
      midjourney:
        connectTimeout: 600000
        readTimeout: 600000

在这里插入图片描述

;