Skip to content

Conversation

@FreddieAkeroyd
Copy link
Contributor

Hi @MarkRivers we have an issue with late enabling of autoconnect and I was wondering if this was a valid fix.

We setup some ports with drvAsynIPPortConfigure and autoconnect disabled and then later in SNL we use pasynManager->autoConnect (like inside the asynAutoConnect epics cmd) to enable autoconnect . It seems with this approach that we get an initial connection attempt, but if this fails no further attempts are queued.

Is the correct fix to start a connection timer in the autoConnectAsyn function or is another approach better?

Thanks,

Freddie

@AppVeyorBot
Copy link

Build asyn 1.0.291 failed (commit f874070c2c by @FreddieAkeroyd)

@FreddieAkeroyd FreddieAkeroyd marked this pull request as ready for review February 19, 2025 12:26
@exzombie
Copy link
Contributor

exzombie commented Dec 3, 2025

I encountered this problem as well, and came to the same solution. Your patch looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants