Skip to content

Commit 5d856da

Browse files
committed
reduce upload stream buffer size to 1
1 parent d238c70 commit 5d856da

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ All notable changes starting with v0.1.34 to this project will be documented in
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
# v0.1.57 (2022-02-07)
8+
# v0.1.58 (2022-02-24)
9+
- **changed:** reduced default upload buffer size to 1 to try to eliminate bundle verification errors.
10+
11+
# v0.1.57 (2022-02-15)
912
- **changed:** reduced max `--reward-multiplier` from 10.0 to 3.0 since Arweave transactions seemed to fail for overspend greater than that.
1013
- **added:** implemented `Send` and `Sync` for `Error` and [error_send](examples/error_send.rs) example.
1114

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "arloader"
33
authors = ["calebeverett <[email protected]>"]
44
description = "Command line application and library for uploading files to Arweave."
5-
version = "0.1.57"
5+
version = "0.1.58"
66
edition = "2021"
77
license = "Apache-2.0"
88
repository = "https://github.com/CalebEverett/arloader"

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ fn get_app() -> App<'static, 'static> {
519519
.arg(ar_default_keypair())
520520
.arg(with_sol_arg().requires("sol_keypair_path"))
521521
.arg(sol_keypair_path_arg())
522-
.arg(buffer_arg("5"))
522+
.arg(buffer_arg("1"))
523523
.arg(bundle_size_arg())
524524
.group(
525525
ArgGroup::with_name("ar_keypair")
@@ -586,7 +586,7 @@ fn get_app() -> App<'static, 'static> {
586586
.arg(ar_default_keypair())
587587
.arg(with_sol_arg().requires("sol_keypair_path"))
588588
.arg(sol_keypair_path_arg())
589-
.arg(buffer_arg("5"))
589+
.arg(buffer_arg("1"))
590590
.arg(bundle_size_arg())
591591
.group(
592592
ArgGroup::with_name("ar_keypair")
@@ -620,7 +620,7 @@ fn get_app() -> App<'static, 'static> {
620620
.arg(ar_default_keypair())
621621
.arg(with_sol_arg().requires("sol_keypair_path"))
622622
.arg(sol_keypair_path_arg())
623-
.arg(buffer_arg("5"))
623+
.arg(buffer_arg("1"))
624624
.arg(bundle_size_arg())
625625
.arg(link_file_arg())
626626
.group(

0 commit comments

Comments
 (0)