Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

The maximum number of queued runs for a process before warnings are generated.

 

Notes

When a process runs, its tasks will be spread over game ticks if necessary in order to avoid game lag. If subsequent runs are started while another run is already in progress, they will be queued up and started after the current run ends.

If runs are queueing up too fast, things could quickly get out of hand. The PULSE_MAX_QUEUE constant sets the threshold at which the API considers a process to be accumulating too many queued runs – at this point warning messages will be generated indicating developer attention is required.

If PROCESS_Process.TICK_TIME is  is less than 30ms, the value of PULSE_MAX_QUEUE will be doubled to avoid spamming you with warnings.

Div
classbox

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above