barkey/packages
dakkar 06bd29f209 try to avoid insert races in FederatedInstanceService
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.
2024-10-12 10:57:57 +01:00
..
backend try to avoid insert races in FederatedInstanceService 2024-10-12 10:57:57 +01:00
frontend merge: New logo (!681) 2024-10-11 18:04:32 +00:00
megalodon Run eslint with caching 2024-09-14 00:58:02 +02:00
misskey-bubble-game Run eslint with caching 2024-09-14 00:58:02 +02:00
misskey-js merge: Show instance sponsors if OC is set as donation url (!642) 2024-10-08 18:07:58 +00:00
misskey-reversi Run eslint with caching 2024-09-14 00:58:02 +02:00
shared update deps (#14057) 2024-07-02 11:38:34 +09:00
sw Run eslint with caching 2024-09-14 00:58:02 +02:00
meta.json refactoring 2021-11-12 02:02:25 +09:00