influxdata / influxdata/influxdb-client-python

Import of this library starts 6 threads

Open
#673 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
793
Forks
186
Avg merge
3h 2m
Merged PRs (30d)
1

Description

Specifications
  • Client Version: 1.43.0 - 1.46.0
  • InfluxDB Version: all
  • Platform: WSL2 (Any?)
Code sample to reproduce problem
import influxdb_client
import time
time.sleep(100)
Expected behavior

Does not start 6 thread in background (check in e.g. htop)

Actual behavior

Starts 6 threads in background

Additional info

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the import influxdb_client example and inspect the import path for where the six background threads are started. Confirm the change by rerunning the example and verifying that importing the library no longer starts those threads.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.