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

c 复制代码
root@product-qualification:~# nohup java -jar productQualification.jar --spring.profiles.active=prod $
nohup: ignoring input and appending output to 'nohup.out'

1、application.yml

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
相关推荐
皮皮林5517 小时前
Java性能调优黑科技!1行代码实现毫秒级耗时追踪,效率飙升300%!
java
冰_河7 小时前
QPS从300到3100:我靠一行代码让接口性能暴涨10倍,系统性能原地起飞!!
java·后端·性能优化
桦说编程10 小时前
从 ForkJoinPool 的 Compensate 看并发框架的线程补偿思想
java·后端·源码阅读
躺平大鹅12 小时前
Java面向对象入门(类与对象,新手秒懂)
java
初次攀爬者13 小时前
RocketMQ在Spring Boot上的基础使用
java·spring boot·rocketmq
花花无缺13 小时前
搞懂@Autowired 与@Resuorce
java·spring boot·后端
Derek_Smart14 小时前
从一次 OOM 事故说起:打造生产级的 JVM 健康检查组件
java·jvm·spring boot
NE_STOP15 小时前
MyBatis-mybatis入门与增删改查
java
孟陬18 小时前
国外技术周刊 #1:Paul Graham 重新分享最受欢迎的文章《创作者的品味》、本周被划线最多 YouTube《如何在 19 分钟内学会 AI》、为何我不
java·前端·后端