数据库
首页 > 数据库> > 解决activiti6一直调用查询sql问题

解决activiti6一直调用查询sql问题

作者:互联网

:47:43.617 [activiti-acquire-async-jobs] DEBUG o.a.e.i.p.e.J.selectJobsToExecute - [debug,159] - ==>  Preparing: select RES.* from ACT_RU_JOB RES where LOCK_EXP_TIME_ is null LIMIT ? OFFSET ? 
15:47:43.623 [activiti-acquire-async-jobs] DEBUG o.a.e.i.p.e.J.selectJobsToExecute - [debug,159] - ==> Parameters: 1(Integer), 0(Integer)
15:47:43.627 [activiti-acquire-async-jobs] DEBUG o.a.e.i.p.e.J.selectJobsToExecute - [debug,159] - <==      Total: 0
15:47:43.629 [activiti-acquire-timer-jobs] DEBUG o.a.e.i.p.e.T.selectTimerJobsToExecute - [debug,159] - ==>  Preparing: select RES.* from ACT_RU_TIMER_JOB RES where DUEDATE_ <= ? and LOCK_OWNER_ is null LIMIT ? OFFSET ? 
15:47:43.632 [activiti-acquire-timer-jobs] DEBUG o.a.e.i.p.e.T.selectTimerJobsToExecute - [debug,159] - ==> Parameters: 2020-12-16 15:47:43.628(Timestamp), 1(Integer), 0(Integer)
15:47:43.641 [activiti-acquire-timer-jobs] DEBUG o.a.e.i.p.e.T.selectTimerJobsToExecute - [debug,159] - <==      Total: 0

# Spring配置
spring:
  #activiti 相关配置
  activiti:
    # 检测身份信息表是否存在
    db-identity-used: true
    **#添加这个配置就不会一直调用了**
    #在流程引擎启动就激活AsyncExecutor,异步 true  false 关闭  (切记关闭)
    async-executor-activate: false
    #database-schema-update: true
    # 自动部署验证设置:true-开启(默认)、false-关闭  生成表
    check-process-definitions: false

标签:调用,false,activiti,159,47,activiti6,sql,Integer,RES
来源: https://blog.csdn.net/qq_35226176/article/details/111282733