Adjust time resolution of genesis ledger:

Due to some quirky emergent behavior, the server can't really begin
synching until twice the default close time resolution of the genesis
ledger, which is 30 seconds, has passed. In effect, this causes a one
minute delay.

This commit adjusts the default close time resolution down to the
minimum allowed resoluion of 10 seconds, so the corresponding delay
is reduced by 67% down to 20 seconds. This should be enough time to
ensure the server has reasonable connectivity without unduly delaying
initial synch times.
This commit is contained in:
JoelKatz
2020-12-16 19:42:02 -08:00
committed by Nik Bougalis
parent 02ccdeb94e
commit 6dd3d825c8
6 changed files with 30 additions and 31 deletions

View File

@@ -221,7 +221,7 @@ class Feature_test : public beast::unit_test::suite
BEAST_EXPECT(feature[jss::count] == 1);
BEAST_EXPECT(feature[jss::threshold] == 1);
BEAST_EXPECT(feature[jss::validations] == 1);
BEAST_EXPECT(feature[jss::majority] == 2740);
BEAST_EXPECT(feature[jss::majority] == 2540);
}
}