Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
relax abi_serializer limit for cleos #4395
Browse files Browse the repository at this point in the history
  • Loading branch information
arhag committed Jun 28, 2018
1 parent 3a88ef7 commit 95fb08f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions programs/cleos/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,8 @@ int main( int argc, char** argv ) {
textdomain(locale_domain);
context = eosio::client::http::create_http_context();

abi_serializer::set_max_serialization_time(fc::seconds(1)); // No risk to client side serialization taking a long time

CLI::App app{"Command Line Interface to EOSIO Client"};
app.require_subcommand();
app.add_option( "-H,--host", obsoleted_option_host_port, localized("the host where nodeos is running") )->group("hidden");
Expand Down

0 comments on commit 95fb08f

Please sign in to comment.