Skip to content

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Oct 6, 2025

🧭 What and Why

Fixes algolia/algoliasearch-client-go#775

@millotp millotp self-assigned this Oct 6, 2025
@millotp millotp requested a review from a team as a code owner October 6, 2025 10:48
@millotp millotp requested review from Fluf22 and morganleroi October 6, 2025 10:48
@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 6, 2025

✔️ Code generated!

Name Link
🪓 Triggered by 5c7fefebbb99476c0aeafb875a4031dc69fb9ca2
🍃 Generated commit 6766280be07b11db1964eddb41e51dbfbfb53c62
🌲 Generated branch generated/fix/go-idle
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
go 1710

@millotp millotp enabled auto-merge (squash) October 6, 2025 13:54
@millotp millotp merged commit 8bee10f into main Oct 6, 2025
13 checks passed
@millotp millotp deleted the fix/go-idle branch October 6, 2025 14:04
algolia-bot added a commit that referenced this pull request Oct 6, 2025
… ci]

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Oct 6, 2025
algolia/api-clients-automation#5442

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
}).DialContext,
DisableKeepAlives: false,
MaxIdleConnsPerHost: DefaultMaxIdleConnsPerHost,
IdleConnTimeout: DefaultConnectTimeout,
Copy link
Contributor

Choose a reason for hiding this comment

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

I made an error earlier — it should be DefaultMaxIdleTimeout instead of DefaultConnectTimeout.
Note that DefaultMaxIdleTimeout must be shorter than DefaultConnectTimeout.

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.

connection reset by peer when using http.DefaultClient

4 participants