Set the threads of parallel transferer to be daemons

Offen
#15 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
cloud

Rechercherichtung

The payload names no file, so start by finding where the parallel transferer creates its worker threads in the b2sdk package. Check whether those threads are started as non-daemon, and confirm that a short script which starts a transfer and then exits hangs until wait() is called. Done means the threads no longer keep the interpreter alive when the main thread finishes, and a test or script shows the process exiting on its own.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

... so that if the main thread terminates, they terminate as well on their own.

I think we don't want the library user to call wait() on the internal threads of b2sdk.

Vorherrschende Sprache
Python
Sterne
214
Forks
68
Ø Merge
51 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Backblaze/b2-sdk-python

Alle Issues in Backblaze/b2-sdk-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.