Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update ttl.go
  • Loading branch information
Pricstas authored Mar 12, 2025
commit 8f10f246358556953c855187cc4a17fba0875248
2 changes: 1 addition & 1 deletion ttl/ttl.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024 Hemi Labs, Inc.

Check failure on line 1 in ttl/ttl.go

View workflow job for this annotation

GitHub Actions / Lint

Pattern (\d{4}-2025)|(2025) doesn't match. (goheader)
// Use of this source code is governed by the MIT License,
// which can be found in the LICENSE file.

Expand Down Expand Up @@ -87,7 +87,7 @@
}

// Put inserts the provided key and value into the TTL map. The ttl values
// designates the duration of the validity of this key value-pair. The expired
// designates the duration of the validity of this key-value pair. The expired
// function is called when the duration expires and the remove callback is
// called when the key is Canceled.
func (tm *TTL) Put(pctx context.Context, ttl time.Duration, key any, val any, expired func(context.Context, any, any), remove func(context.Context, any, any)) {
Expand Down
Loading