lixiongliang opened a new issue #1813:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1813
At present, we have configured 300 tasks in xml, and will continue to
increase in the future. I feel that the system startup has become very slow, it
takes a long time, and the number of threads started in the process is
thousands. After reading the source code, I found that each configuration job,
there will be a separate thread to execute, is there a good and simple way to
optimize, integrated Spring configuration is as follows
<job:simple id="xxxxJob" class="xxxxJob"
registry-center-ref="regCenter"
sharding-total-count="1"
cron="0 30 6 * * ?"
sharding-item-parameters="0=0"
monitor-execution="true"
monitor-port="9888"
failover="false"
description="Timed task"
disabled="false"
overwrite="true" job-parameter="31,60"/>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]