# 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/8327c426bc7b16b0d9bfe934f15663e61a0e3ef8)

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

Visibility: public

Requested revision: 8327c426bc7b16b0d9bfe934f15663e61a0e3ef8

Requested commit: 8327c426bc7b16b0d9bfe934f15663e61a0e3ef8

Commit: 8327c426bc7b16b0d9bfe934f15663e61a0e3ef8

Tree: b83bdec588f2496898d2dfc0f1454ca3c3948f74

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

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

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