pquiring / llrp

llrp (ltkjava) fork with fixes (apache mina 2.x support)
2 stars 2 forks source link

LLRPConnector deadlocking #2

Closed pquiring closed 3 months ago

pquiring commented 1 year ago

LLRPConnector.connect() is intermittently deadlocking. Seems to be related to checkLLRPConnectionAttemptStatus which calls BlockQueue.poll() - a Java method with a timeout?

pquiring commented 3 months ago

I've upgraded some more packages and other fixes and seems to be working now. Will do more testing this week to validate.

pquiring commented 3 months ago

Deadlocking seems to be fixed BUT highly recommend using ping message to validate connection is valid. Mina 2.x does not seem to be as reliable as 1.x was.