StackStorm-Exchange / stackstorm-email

E-Mail Actions/Sensors for StackStorm
https://exchange.stackstorm.org/
Apache License 2.0
9 stars 45 forks source link

Query: Is there any limit on how many number of IMAP sensors that can be added? #42

Closed transhapHigsn closed 3 years ago

blag commented 3 years ago

Digging through the code though, only one IMAP sensor will be created, but every time it polls it loops through all IMAP accounts, establishes a connection to the server for each account, grabs all unseen messages, and processes them by mangling some data and dispatching a trigger instance.

So, the full answer to your question is: only one sensor will ever be created, but there is no hard limit to the number of IMAP accounts that are monitored.

transhapHigsn commented 3 years ago

Thanks @blag