Skip to content

Conversation

@kkroo
Copy link

@kkroo kkroo commented Jul 1, 2015

WIP

Here is what is happening. We are connect with multiple ZMQ sockets to NodeManager with each instance of openbts.components.SIPAuthServe() and it seems that they are competing for the connection to the sqlitedb. This was coming up in phone_tests on client

This adds a 10x retry spaced 0.1 seconds apart in the attempt that the connection fails. I think this is what we were doing pre-openbts 5.0

I am tempted to move the connect() to https://github.com/endaga/subscriberRegistry/blob/master/apps/sipauthserve.cpp#L64 so that we have one sqlite3 connection per instance of sipauthserve but need to better understand the repercussions of that

@yosemitebandit
Copy link

@kkroo what is the status of this PR?

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