Set the threads of parallel transferer to be daemons

Aperta
#15 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cloud

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
214
Fork
68
Merge medio
51m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Backblaze/b2-sdk-python

Tutte le issue di Backblaze/b2-sdk-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.