Title: logtail-python makes a new http connection every upload batch · Issue #1 · logtail/logtail-python · GitHub
Open Graph Title: logtail-python makes a new http connection every upload batch · Issue #1 · logtail/logtail-python
X Title: logtail-python makes a new http connection every upload batch · Issue #1 · logtail/logtail-python
Description: Is this by design? https://github.com/logtail/logtail-python/blob/master/logtail/uploader.py#L18 It seems quite wasteful to keep creating a new HTTP connection every time an upload batch occurs, the requests library has a very helpful se...
Open Graph Description: Is this by design? https://github.com/logtail/logtail-python/blob/master/logtail/uploader.py#L18 It seems quite wasteful to keep creating a new HTTP connection every time an upload batch occurs, th...
X Description: Is this by design? https://github.com/logtail/logtail-python/blob/master/logtail/uploader.py#L18 It seems quite wasteful to keep creating a new HTTP connection every time an upload batch occurs, th...
Opengraph URL: https://github.com/logtail/logtail-python/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"logtail-python makes a new http connection every upload batch","articleBody":"Is this by design?\r\n\r\nhttps://github.com/logtail/logtail-python/blob/master/logtail/uploader.py#L18\r\n\r\nIt seems quite wasteful to keep creating a new HTTP connection every time an upload batch occurs, the `requests` library has a very helpful `session` object which will automatically re-use the same http connection, `requests.Session()`","author":{"url":"https://github.com/12932","@type":"Person","name":"12932"},"datePublished":"2021-11-26T07:13:45Z","url":"https://github.com/logtail/logtail-python/issues/1"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d6ae3c78-67be-1851-d132-294ed6f6233a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF86:34FCD6:3C71F5:503AC8:6AFBBCAA |
| html-safe-nonce | cd930a845aab75648c23ab205556dc87e50552b2b044da53385dffa8f595bbda |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjg2OjM0RkNENjozQzcxRjU6NTAzQUM4OjZBRkJCQ0FBIiwidmlzaXRvcl9pZCI6IjE4MDU3NTg3MTYyMTExOTE0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2e8409cdcd1bf9203f8c000f573fe1e0d35d19edcf32866d584c5d6be35b9055 |
| hovercard-subject-tag | issue:1064166796 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/logtail/logtail-python/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7601823a281f3926e2e13c4550c4fccb2a21b049dc1d52539a8dfbadc648d3df/logtail/logtail-python/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7601823a281f3926e2e13c4550c4fccb2a21b049dc1d52539a8dfbadc648d3df/logtail/logtail-python/issues/1 |
| og:image:alt | Is this by design? https://github.com/logtail/logtail-python/blob/master/logtail/uploader.py#L18 It seems quite wasteful to keep creating a new HTTP connection every time an upload batch occurs, th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 12932 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c |
| turbo-cache-control | no-preview |
| go-import | github.com/logtail/logtail-python git https://github.com/logtail/logtail-python.git |
| octolytics-dimension-user_id | 78922349 |
| octolytics-dimension-user_login | logtail |
| octolytics-dimension-repository_id | 351343852 |
| octolytics-dimension-repository_nwo | logtail/logtail-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 351343852 |
| octolytics-dimension-repository_network_root_nwo | logtail/logtail-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4cce0e99cf61481a318ff12c2e8580153a6c7c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width