If a gateway is using a session custom property of 600 in the polling by seconds, and multiple sessions are open, will they all be polling at the same time, or staggered by the amount that each opened initially?
I thought they would be staggered, but I am seeing an odd behavior where a lot of polling is happening at the same time.
I thought it would be better for me have polling set in the component.
Hi so the lot of polling could he happening because it’s polling separately for every session.
Basically custom session properties will be individual polled for every session. Imagine you have a custom session parameter called “pollThis” and it’s polling per 5 seconds. and you have no session open so it won’t poll. Now let’s consider you have 1 session open with id seasion_001 it will have its own pollThis which will start polling every 5 seconds.
If you open another session with id session_002, it will again have its own pollThis (so basically 2 instances of pollThis) which will poll every 5 seconds. And this goes on for every session you open.
Ideally I would suggest you to always add polling part to the component so that it will only poll initially when that component is actually visible on the page.