mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
c43439d05a
# Description of Changes 1. This adds some basic tests of `LockedFile` (which would generally have also passed before these changes). 2. `LockedFile` can now have contents, which are added to the errors if we can't aquire the lock. The default metadata has the pid and a timestamp. I now see that there is a separate `Lockfile` that doesn't clean up locks on a crash, so that should probably also be cleaned up (but in a separate PR). # Expected complexity level and risk 1. # Testing This has unit tests.
⚠️ Internal Crate ⚠️
This crate is intended for internal use only. It is not stable and may change without notice.