Search

GlobalSCAPE Knowledge Base

How can I limit the number of event rule subroutines running?

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT v8.x

QUESTION

How can I limit the number of event rule subroutines running?

ANSWER

The number of event rule subroutines running can be limited by setting the following advanced properties in the AdvancedProperties.json.

Asynchronous subroutine global number of threads running

To specify the maximum number of simultaneous asynchronous event rule subroutines running (per server), add:

RunningAsyncSubroutinesLimit

The default is "10"; "0" = no limit

Asynchronous subroutine queue size per-site

To specify the maximum number of asynchronous event rule subroutines that may be queued (per site) before dropping new subroutine, add:

QueuedAsyncSubroutinesLimit

The default is "0", which means no limit; enter a non-zero value to limit it.

To force subroutine to wait until an AWE task completes, make sure that:

  • Subroutines are called asynchronously (i.e., the caller rule HAS NO IF FAILED section when calling subroutine)
  • AWE tasks are called synchronously (i.e., subroutine has IF FAILED section when calling workflow.
Details
Last Modified: 2 Years Ago
Last Modified By: kmarsh
Type: HOWTO
Rated 2 stars based on 2 votes.
Article has been viewed 4.3K times.
Options
Also In This Category