~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/pds.js

An atproto PDS in JavaScript, for Cloudflare Workers and Node

0
0
main
15 lines · 663 B Raw History
---
'@pdsjs/core': patch
'@pdsjs/cloudflare': patch
'@pdsjs/spaces': patch
---

A space write answers before its notices go out. The notice to each syncer of
the account's own space, and the first try of the notice to another space's
authority, run after the response. The notice to an authority is still stored
first and retried until it lands. Each notice waits at most 3 seconds for an
answer. A slow syncer made every write into its space as slow as itself.

An extension's host has `background(work)`, which runs work after the response.
Cloudflare keeps the Durable Object running until that work ends. A platform
passes `waitUntil` to the server for that.