mirror of
https://github.com/rqlite/rqlite.git
synced 2026-01-25 04:16:26 +00:00
Fix typo in comment
This commit is contained in:
@@ -125,7 +125,7 @@ func New[T any](maxSize, batchSize int, t time.Duration) *Queue[T] {
|
||||
// c is an optional channel. If non-nil, it will be closed when the Request
|
||||
// containing these objects is closed. Normally this close operation should
|
||||
// be called by whatever is processing the objects read from the queue, to
|
||||
// indicate that the objects have been processed. The canoncial use of this
|
||||
// indicate that the objects have been processed. The canonical use of this
|
||||
// is to allow the caller to block until the objects are processed.
|
||||
func (q *Queue[T]) Write(objects []T, c FlushChannel) (int64, error) {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user