Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to go1.14.6 #1741

Merged
merged 1 commit into from
Jul 23, 2020
Merged

Conversation

azdagron
Copy link
Member

@azdagron azdagron commented Jul 23, 2020

Upgrades to Go 1.14.6 which contains a fix for transaction handling in the sql package when a transaction is rolled back due to context cancellation (golang/go#39101)

Also bumps up the "max connection lifetime" value in a unit test that was accidentally causing all of the idle connections to be closed before they could be inspected. Presumably the changes in go1.14.6 caused the connection lifetime to be checked more aggressively or changed the timing.

Signed-off-by: Andrew Harding <[email protected]>
@@ -2795,7 +2795,7 @@ func (s *PluginSuite) TestConfigure() {
giveDBConfig: `
max_open_conns = 1000
max_idle_conns = 50
conn_max_lifetime = "1ms"
conn_max_lifetime = "10s"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@amartinezfayo amartinezfayo merged commit a4cdde0 into spiffe:master Jul 23, 2020
@azdagron azdagron deleted the upgrade-go-1.14.6 branch August 21, 2020 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants