diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 61c5ba5fc56a549d13ff73daf204a6e3cf0ed183..e0a8283e6baa540cbdcf41743de17613904af63c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,7 @@ Changelog * Remove unnecessary requirements (pylibscrypt and future * add new node (fin.hive.3speak.co) and change change rpc.esteem.app to rpc.ecency.com * Replace diff_match_patch by difflib and add unit tests +* Increase timeout and retry cound in beempy 0.24.13 ------- diff --git a/beem/cli.py b/beem/cli.py index 4d5447b1707f8911239b9b3584f0e16358c3671e..d18d7f491ed1e9583768817afd20c14a623d49b5 100644 --- a/beem/cli.py +++ b/beem/cli.py @@ -315,8 +315,8 @@ def cli(node, offline, no_broadcast, no_wallet, unsigned, create_link, steem, hi path=path, debug=debug, num_retries=10, - num_retries_call=3, - timeout=15, + num_retries_call=5, + timeout=30, autoconnect=autoconnect ) elif steem: @@ -334,8 +334,8 @@ def cli(node, offline, no_broadcast, no_wallet, unsigned, create_link, steem, hi path=path, debug=debug, num_retries=10, - num_retries_call=3, - timeout=15, + num_retries_call=5, + timeout=30, autoconnect=autoconnect ) else: @@ -353,8 +353,8 @@ def cli(node, offline, no_broadcast, no_wallet, unsigned, create_link, steem, hi path=path, debug=debug, num_retries=10, - num_retries_call=3, - timeout=15, + num_retries_call=5, + timeout=30, autoconnect=autoconnect ) diff --git a/tests/beem/test_cli.py b/tests/beem/test_cli.py index 6696522e3fca180f1b0f0646bb6cce585985958f..2842b4e2047ed44a748f2f46f145fbea852f661b 100644 --- a/tests/beem/test_cli.py +++ b/tests/beem/test_cli.py @@ -276,7 +276,7 @@ class Testcases(unittest.TestCase): def test_newaccount(self): runner = CliRunner() - result = runner.invoke(cli, ['-dx', 'newaccount', 'beem3'], input="test\ntest\ntest\n") + result = runner.invoke(cli, ['-dx', 'newaccount', 'beem3'], input="test\ntest\n") self.assertEqual(result.exit_code, 0) result = runner.invoke(cli, ['-dx', 'newaccount', '--owner', 'STM7mLs2hns87f7kbf3o2HBqNoEaXiTeeU89eVF6iUCrMQJFzBsPo', '--active', 'STM7rUmnpnCp9oZqMQeRKDB7GvXTM9KFvhzbA3AKcabgTBfQZgHZp',