summaryrefslogtreecommitdiff
path: root/internal/state
diff options
context:
space:
mode:
Diffstat (limited to 'internal/state')
-rw-r--r--internal/state/state.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/internal/state/state.go b/internal/state/state.go
index 7cd0406b0..5dfe83271 100644
--- a/internal/state/state.go
+++ b/internal/state/state.go
@@ -42,9 +42,12 @@ type State struct {
// DB provides access to the database.
DB db.DB
- // FedLocks provides access to this state's mutex map
- // of per URI federation locks. Used during dereferencing
- // and by the go-fed/activity library.
+ // FedLocks provides access to this state's
+ // mutex map of per URI federation locks.
+ //
+ // Used during account and status dereferencing,
+ // message processing in the FromFediAPI worker
+ // functions, and by the go-fed/activity library.
FedLocks mutexes.MutexMap
// Storage provides access to the storage driver.