Connection code should use binary exponential backoff rather than fail immediately

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

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
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
networking

Hướng nghiên cứu

Start at IMDClient's _connect_to_server method and see how it currently raises on a failed connection. Wrap the connect attempt in a retry loop with doubling waits and make the maximum wait time configurable, either through the constructor or a constant. You are done when a refused connection retries with increasing delays instead of failing immediately, and the retry behavior is exercised by a test.

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

Mô tả

enhancement

To avoid the user having to coordinate simulation engine and MDAnalysis. IMDClient's _connect_to_server method should use binary exponential backoff with a configurable amount of wait time rather than fail immediately upon not connecting.

Ngôn ngữ chính
Python
Star
13
Fork
3
Merge trung bình
12 ngày 14 giờ
Pull request đã merge (30 ngày)
1

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 Becksteinlab/imdclient

Tất cả issue của Becksteinlab/imdclient

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.