다음을 통해 공유


Background sessions now have a timeout

Important

This content is archived and is not being updated. For the latest documentation, go to New and Planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically - Apr 1, 2021

Business value

Provides a protection mechanism for not overloading the Business Central server.

Feature details

Background sessions that are started by calls to the AL methods StartSession and CreateTask now have timeouts that are configured in the Business Central server instance. A developer can override the server timeout setting by specifying the duration parameter in the AL method calls.

The new server settings and their default values for Business Central online are as follows:

  • DefaultTaskSchedulerSessionTimeout – 12 hours
  • DefaultStartSessionTimeout – 12 hours

Both settings are dynamically updateable with Business Central on-premises deployments.

See also

Configuring Business Central Server (docs)