mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-11-26 01:58:35 +00:00
Despite the cache, different processes can race to insert a row for the same remote host. This is particularly apparent in our unit tests, with `test/unit/activitypub.ts` randomly failing. This is a (somewhat clumsy) attempt at working around that race: trap the "duplicate key value" error, and fetch the record. Tests pass, with or without values in the cache. |
||
|---|---|---|
| .. | ||
| .vscode | ||
| assets | ||
| migration | ||
| scripts | ||
| src | ||
| test | ||
| test-server | ||
| .madgerc | ||
| .swcrc | ||
| eslint.config.js | ||
| jest.config.cjs | ||
| jest.config.e2e.cjs | ||
| jest.config.unit.cjs | ||
| jsconfig.json | ||
| ormconfig.js | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
