Skip to content

Conversation

h-nargesi
Copy link

Instead of execute queries in a loop (that has sires performance issue), we can run a query for all of the users and store result in a dictionary and then use it in that loop.

Also add acctstarttime column in username index on radacct table will help to run this query in a better state.

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.

1 participant