Skip to content

Commit

Permalink
Chore: Spelling fix for linter (grafana#11482)
Browse files Browse the repository at this point in the history
**What this PR does / why we need it**:
Just a minor spelling fix in a comment, no functional change.

**Which issue(s) this PR fixes**:
Fixes #<issue number>

**Special notes for your reviewer**:

**Checklist**
- [ ] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/setup/upgrade/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](grafana@d10549e)
- [ ] If the change is deprecating or removing a configuration option,
update the `deprecated-config.yaml` and `deleted-config.yaml` files
respectively in the `tools/deprecated-config-checker` directory.
[Example
PR](grafana@0d4416a)
  • Loading branch information
paul1r authored and rhnasc committed Apr 12, 2024
1 parent 4ce3ab0 commit 0587bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (q *RequestQueue) ReleaseRequests(items []Request) {
// The caller is responsible for returning the dequeued requests back to the
// pool by calling ReleaseRequests(items).
func (q *RequestQueue) DequeueMany(ctx context.Context, last QueueIndex, consumerID string, maxItems int, maxWait time.Duration) ([]Request, QueueIndex, error) {
// create a context for dequeuing with a max time we want to wait to fullfill the desired maxItems
// create a context for dequeuing with a max time we want to wait to fulfill the desired maxItems

dequeueCtx, cancel := context.WithTimeout(ctx, maxWait)
defer cancel()
Expand Down

0 comments on commit 0587bed

Please sign in to comment.