getSamplingRate on passive gateway?

I have a redundant gateway with Standby Activity Level set to Warm

My driver keep track of subscribed tags with :


I’ve a driven scan class with slow rate to 0ms (fast rate = 5000ms), and driving tag : [System]Gateway/Redundancy/IsActive (=1)
in order to not poll tags for these driver on the gateway not active.

the following code :


return 5000 on both gateway.

I expected that on the not active gateway, the sampling rate returned was 0 ??? :scratch: