fix(abcip): #983 review — probe timeout bounds only the probe read, not the cold initialisation
P-22 moved the probe's own short timeout (default 2 s) onto the probe runtime's cold InitializeAsync too — on the native transport the TCP connect + RegisterSession + Forward Open, which the pooled connection bounds with the driver's Timeout. A slow-but-healthy open longer than the probe timeout never completed: the probe re-created and timed out every tick and the host stayed Stopped. Initialisation now runs under the loop token only; the probe timeout bounds the read.
This commit is contained in:
@@ -191,7 +191,7 @@ The driver has two interchangeable wire transports, selected by one `DriverConfi
|
||||
a held connection idling out, so this shape follows a controller restart / re-download or a network gap.
|
||||
- `ConnectionSize` / `Timeout` / `AllowPacking` are honoured per pooled connection, and the **first**
|
||||
driver/device to open a given device key wins — including a Test Connect probe on a fused `admin,driver`
|
||||
node (a Test Connect probe carries its own probe timeout). The driver's own probe loop leases with the DRIVER's `Timeout` and bounds only its wait with the probe timeout (#983 P-22: it used to lease with the probe's, so a short probe timeout became every data read's). A later opener with different options is ignored and
|
||||
node (a Test Connect probe carries its own probe timeout). The driver's own probe loop leases with the DRIVER's `Timeout` and bounds only its probe READ with the probe timeout (#983 P-22: it used to lease with the probe's, so a short probe timeout became every data read's; #983 review: the cold probe initialisation — connect + RegisterSession + Forward Open — is bounded by the driver's `Timeout`, not the probe's, or a slow-but-healthy open never completed and the host stayed `Stopped`). A later opener with different options is ignored and
|
||||
logged once as a Warning (`DeviceSessionPool`). ⚠️ The device key compares the **host string**, so the
|
||||
same controller addressed by DNS name in one driver and by IP in another gets two connections and two
|
||||
Forward Open throttles (up to two opens per second); address a controller the same way everywhere. ControlLogix, GuardLogix and (since T21) CompactLogix default to 4002, a Large
|
||||
|
||||
Reference in New Issue
Block a user