1
0
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
2024-07-30 09:17:06 +09:00
2024-02-02 07:48:35 +00:00
2022-06-09 00:50:23 +09:00
2024-07-26 22:45:07 -04:00
2024-09-14 00:58:02 +02:00
2024-06-26 21:55:08 +01:00
2024-07-30 09:17:06 +09:00
2024-02-03 15:01:09 +01:00
2018-08-13 00:24:45 +09:00
2023-02-26 14:17:29 +09:00
2024-09-21 00:27:34 +00:00
2024-01-01 00:30:56 +09:00
2022-06-11 15:53:45 +09:00
2024-03-13 00:17:57 +00:00
2018-03-28 22:56:28 +09:00
2024-09-23 15:03:34 -04:00
2024-09-20 08:30:24 +01:00
2024-01-21 13:11:23 +01:00
2019-04-05 18:17:30 +09:00
2024-01-04 08:44:38 +09:00
2024-02-02 07:48:35 +00:00

Sharkey logo

🌎 Sharkey is an open source, decentralized social media platform that's free forever! 🚀


create an instance become a contributor join the community donate

Features

  • ActivityPub support
    Not on Sharkey? No problem! Not only can Sharkey instances talk to each other, but you can make friends with people on other networks like Mastodon and Pixelfed!
  • Federated Backgrounds and Music status
    You can add a background to your profile as well as a music status via ListenBrainz, show everyone what music you are currently listening to
  • Mastodon API
    Sharkey implements the Mastodon API unlike normal Misskey
  • UI/UX Improvements
    Sharkey makes some UI/UX improvements to make it easier to navigate
  • Sign-Up Approval
    With Sharkey, you can enable sign-ups, subject to manual moderator approval and mandatory user-provided reasons for joining.
  • Rich Web UI
    Sharkey has a rich and easy to use Web UI! It is highly customizable, from changing the layout and adding widgets to making custom themes. Furthermore, plugins can be created using AiScript, an original programming language.
  • And much more...

Documentation

Sharkey Documentation can be found at Sharkey Documentation

S
Description
Mirror of the Pawkey source code
Readme AGPL-3.0 176 MiB
Languages
TypeScript 64.4%
Vue 29.1%
JavaScript 5.9%
SCSS 0.3%
Pug 0.2%