You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This originally was likely an attempt to get around the inability to lock files on the filesystem / concurrent access / etc - all of those things a real database is meant to help with.
What would be a reasonable alternative here - at least keeping the spirit of the original, not just saving on exit?
The text was updated successfully, but these errors were encountered:
This pattern was carried forward from the original implementation, just generalized: (I, uh,
git blame
shows me, but don't blame me 😬 )Load/yield/save:
happi/happi/backends/json_db.py
Lines 26 to 31 in f8c55b2
Load on every method:
happi/happi/backends/json_db.py
Line 68 in f8c55b2
This originally was likely an attempt to get around the inability to lock files on the filesystem / concurrent access / etc - all of those things a real database is meant to help with.
What would be a reasonable alternative here - at least keeping the spirit of the original, not just saving on exit?
The text was updated successfully, but these errors were encountered: