Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

remove check for the last trim time when trimming #92

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

marten-seemann
Copy link
Contributor

As trims are triggered by a time.Ticker, this would lead to roughly every second trim being skipped. It also makes calling TrimOpenConns pointless.

As trims are triggered by a time.Ticker, this would lead to roughly every
second trim being skipped. It also makes calling TrimOpenConns pointless.
@marten-seemann marten-seemann merged commit 469e2c7 into master Nov 29, 2021
@marten-seemann marten-seemann deleted the remove-last-trim-check branch November 29, 2021 07:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants