# fix\(server\): a slow machine no longer holds up every link card's answer · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/32ce3bebb111bbe80e396472fafa574983b0f22b)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 32ce3bebb111bbe80e396472fafa574983b0f22b

Requested commit: 32ce3bebb111bbe80e396472fafa574983b0f22b

Commit: 32ce3bebb111bbe80e396472fafa574983b0f22b

Tree: 91c54bf3cf459a4daa1944b294d4aa797df894e1

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): a slow machine no longer holds up every link card's answer

Answering a link card took one environment-wide lock and held it across
PeerLinks.link, which calls the other machine. A peer that was slow to answer
blocked every other card's answer until it timed out. The lock is now per
card, through the shared KeyedLock, which is all that keeps two answers to
one card from both linking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [59b552379f8bdf91742c2740176dcbc8f339e102](https://git.cafe/pingdotgg/t3code/commit/59b552379f8bdf91742c2740176dcbc8f339e102?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/32ce3bebb111bbe80e396472fafa574983b0f22b?format=markdown)
