Skip to content

Conversation

ajoaoff
Copy link
Collaborator

@ajoaoff ajoaoff commented May 13, 2021

📑 Description of the Change

This PR fixes same issues found when creating/editing several EVCs at once.

  • Do not load archived EVCs in memory.
  • Use locks when loading EVCs
  • Fix an issue where several locks were created in storehouse.

💻 Verification Process

Unit tests passed.
One of the tests was modified to reflect archived EVCs not being loaded.

📄 Release Notes

Examples:

  • Archived EVCs not loaded on startup
  • Locks when loading EVCs

ajoaoff added 4 commits June 8, 2021 08:44
When iterating through a dictionary, get a tuple of keys
instead of a view, avoiding errors when the dictionary changes.
Archived EVCs cannot be used or changed, so there is
no need for them to be in memory.
When an EVC cannot be loaded, a message is logged as error instead of info.

Co-authored-by: Italo Valcy S Brito <[email protected]>
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