Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): restore cache journal mode to TRUNCATE and tweak tokio tes…
…t in CacheDB (denoland#18469) Fast-follow on denoland#18401 -- the reason that some tests were panicking in the `CacheDB` `impl Drop` was that the cache itself was being dropped during panic and the runtime may or may not still exist at that point. We can reduce the actual tokio runtime testing to where it's needed. In addition, we return the journal mode to `TRUNCATE` to avoid the risk of data corruption.
- Loading branch information