Skip to content

Commit a5dded8

Browse files
committed
[messages] add docstrings
1 parent b3373c1 commit a5dded8

File tree

1 file changed

+1
-0
lines changed
  • internal/sms-gateway/modules/messages

1 file changed

+1
-0
lines changed

internal/sms-gateway/modules/messages/tasks.go

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func (t *HashingTask) Run(ctx context.Context) {
5353
}
5454
}
5555

56+
// Enqueue adds a message ID to the processing queue to be hashed in the next batch
5657
func (t *HashingTask) Enqueue(id uint64) {
5758
t.mux.Lock()
5859
t.queue[id] = struct{}{}

0 commit comments

Comments
 (0)