Increase timeout

Đang mở
#38 1 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
45/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ệ
java
Lĩnh vực
cli

Hướng nghiên cứu

The failure comes from the devnet shell's start command, which prints "Waiting for next block..." and then "[ERROR] Waited too long". Search the Java sources for those strings to find the wait loop and the timeout value it uses. Done means the wait allows for slower startup on a loaded machine, and running start on a constrained machine no longer reports that error before the first block arrives. The issue does not say what value to use, so confirm the choice with a maintainer.

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

Mô tả

enhancement

When computer is overloaded and has limited memory, it is easy to get timeout issues:

devnet:default>start
[Success] Starting node from directory : /clusters/default/node-spo1
[Success] Started submit api : http://localhost:8090
[Info] Swagger Url to interact with the cluster's node : http://localhost:10000/swagger-ui.html
Let's wait for the next block to make sure server started properly !!!
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
Waiting for next block...
[ERROR] Waited too long. Something is wrong. You may want to recreate the cluster or just reset data with 'reset' option ...
[OK] Server Started
devnet:default>tip
[Block#] 86
[Slot#] 125
[Block Hash] 14424d714e8553c9491297ea0f70d0ed9dbe28cf60533647008266c002120df7

perhaps increase timeout?

Ngôn ngữ chính
Java
Star
70
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 bloxbean/yaci-devkit

Tất cả issue của bloxbean/yaci-devkit

Issue tương tự

Thêm issue về Java

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.