This topic describes SchedulerxWorker parameters.
The following table describes SchedulerxWorker parameters.
Parameter | Description | Default value |
| Specifies the endpoint in a specific region. | None |
| Specifies the ID of the namespace. | None |
| Specifies the application ID (group ID) when the agent is used to connect the application. The application ID is generated during application creation. | None |
| Specifies the AccessKey ID of the Alibaba Cloud account. You do not need to set this parameter if you use appKey. | None |
| Specifies the AccessKey secret of the Alibaba Cloud account. You do not need to set this parameter if you use appKey. | None |
| Specifies whether to enable grid computing. The default value is true, indicating that grid computing is enabled.
| true |
| Specifies the IP address of the application. The IP address that is obtained by default may be incorrect when multiple network interface cards or virtual private networks (VPNs) are used. In this case, you need to set this parameter. | None |
| Specifies the port on which the application listens. | None |
| Specifies a custom class loader | None |
| Specifies whether to block the startup of the application process if SchedulerX fails to complete the initialization. | None |
| Specifies whether to enable Simple Log Service (SLS). | True |
| Specifies whether to allow all jobs in the application to share the container pool. We recommend that you set the value to true in scenarios where a large number of jobs are concurrently scheduled. | False |
| The size of the pool if you allow all jobs to share the container pool. | 64 |
| Specifies labels to be added to the application during startup of the application so that you can use labels to specify workers for job management. This feature is suitable for canary release and stress testing scenarios. | None |
| The interval at which SchedulerX checks whether all tasks are completed in the Map model. Unit: milliseconds. If you want to increase the frequency at which second-delay jobs are triggered, configure this parameter. | 3000 |
| Sets the unit of the delay to milliseconds for second-delay jobs. If you set this parameter to true, the unit of the delay in the console is changed from seconds to milliseconds. This way, the frequency at which second-delay jobs are triggered is increased. | false |
| Specifies the graceful shutdown mode. If you do not configure this parameter, the graceful shutdown mode is disabled. Valid values:
| None |
| Specifies the shutdown grace period. Unit: seconds. If you do not configure this parameter or set this parameter to a value less than or equal to 0, graceful shutdown does not work. | None |