~emersion/soju#141: 
Use context with hard timeouts

We've hit a bug in chat.sr.ht where a transaction was deadlocking. This was locking up a whole user goroutine.

We should add contexts with hard timeouts for all operations.

Status
REPORTED
Submitter
~emersion
Assigned to
No-one
Submitted
9 months ago
Updated
8 months ago
Labels
enhancement

~emersion 9 months ago

The DB now uses contexts.

~emersion 9 months ago

The message store interface now uses contexts.

~emersion 8 months ago

6143e6f12d68 ("Introduce conn.NewContext") introduces connection contexts.

Register here or Log in to comment, or comment via email.