Set the threads of parallel transferer to be daemons

Aberta
#15 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
cloud

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
214
Forks
68
Merge médio
51min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Backblaze/b2-sdk-python

Todas as issues de Backblaze/b2-sdk-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.