Gateway Event Threads

Are there a set number of Gateway Event Threads (like there are for tag event scripts when defined in the tag definition) or does the event trigger create a new thread? I have some timer scripts that may run long and I may use system.util.invokeAsynchronous() if it works like tag events. Thanks.

Depends on what kind of script.

You mention timer scripts, which have a shared vs dedicated thread setting associated with them. If you configure it for dedicated then a long execution won't have an effect on other timer scripts.

1 Like

Sorry for being imprecise. I meant Scheduled Gateway Events specifically. Timer and Message have that setting but Scheduled does not.

Each of those scripts runs independent of the other ones. They won't block each other.

Thanks!