Commit d4187a6
Fix DCS plugin to reconnect even after initialization failure
- Move subscription logic into goroutine to enable continuous retry
- Always start reconnection goroutine regardless of initial connection state
- Plugin initialization now succeeds even if DCS gateway is unavailable
- Add comprehensive test for unavailable gateway scenario
- Resolves issue where plugin never attempted reconnection after init failure
Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com>1 parent 40fc3c0 commit d4187a6
2 files changed
+73
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 290 | + | |
| 291 | + | |
294 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
295 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
296 | 317 | | |
297 | 318 | | |
298 | 319 | | |
299 | 320 | | |
300 | 321 | | |
301 | 322 | | |
302 | 323 | | |
| 324 | + | |
303 | 325 | | |
304 | 326 | | |
305 | 327 | | |
306 | 328 | | |
307 | 329 | | |
308 | 330 | | |
| 331 | + | |
309 | 332 | | |
310 | 333 | | |
311 | 334 | | |
| |||
330 | 353 | | |
331 | 354 | | |
332 | 355 | | |
| 356 | + | |
| 357 | + | |
333 | 358 | | |
334 | 359 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 360 | | |
348 | 361 | | |
349 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments