/
Setting Up Asynchronus Processing Of Task

Setting Up Asynchronus Processing Of Task

The following table describes the fields on the Asynchronous Processing tab in Business Central Server Administration.

Settings

Description

Limit

Default Session Wait Timeout for Background Sessions

The maximum amount of time that background sessions will wait to be processed.

8 hours

Maximum number of concurrent background sessions

The maximum number of background sessions per tenant that a server instance can actively handle at the same time. Requests that exceed the limit will wait in the queue until the slot is available.

10

Maximum number of background sessions in a queue

The maximum number of background sessions per tenant that can wait to be processed.

100

ChildSessionsMaxConcurrency

The maximum number of child sessions that can run concurrently per parent session. If the value is exceeded, the next child sessions are queued and started as soon as the slot becomes available after the next child sessions have completed.

5

Maximum Child Session Queue Length

The maximum number of child sessions that can be queued per parent session. If the value is exceeded, an error occurs.

100

Maximum number of concurrent scheduled jobs running

The maximum number of jobs that can be run at the same time for an environment.

If many tasks are running at the same time, client response times may slow down. If the value is too low, scheduled tasks may take longer to process.

3

Maximum Relationship Recursion Depth

The maximum number of nested relationships that can be created before infinite recursion is reached. If the limit is exceeded, a run-time error occurs with the message: Excessive recursive session creation was detected, original session ID: [id], current session ID: [id].

14

Default page background task timeout

The default amount of time that page tasks can run in the background before they are canceled. Page background tasks can also be assigned a timeout value when queued at runtime. This limit is used when no timeout is provided when a page background job is queued.

2 minutes

Maximum page background task timeout

The maximum amount of time that page tasks can run in the background before they are canceled. Page background tasks can also be assigned a timeout value when queued at runtime. If a page-background task is queued with a timeout longer than this limit, the timeout is ignored.

10 minutes