Increase timeout

オープン
#38 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
Java
スター
70
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bloxbean/yaci-devkit のほかの issue

bloxbean/yaci-devkit の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。