Set the threads of parallel transferer to be daemons

Đang mở
#15 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cloud

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
214
Fork
68
Merge trung bình
51 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Backblaze/b2-sdk-python

Tất cả issue của Backblaze/b2-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.