Skip to content

Commit

Permalink
reduce upload stream buffer size to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebEverett committed Feb 25, 2022
1 parent d238c70 commit 5d856da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ All notable changes starting with v0.1.34 to this project will be documented in
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# v0.1.57 (2022-02-07)
# v0.1.58 (2022-02-24)
- **changed:** reduced default upload buffer size to 1 to try to eliminate bundle verification errors.

# v0.1.57 (2022-02-15)
- **changed:** reduced max `--reward-multiplier` from 10.0 to 3.0 since Arweave transactions seemed to fail for overspend greater than that.
- **added:** implemented `Send` and `Sync` for `Error` and [error_send](examples/error_send.rs) example.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "arloader"
authors = ["calebeverett <caleb@calebeverett.io>"]
description = "Command line application and library for uploading files to Arweave."
version = "0.1.57"
version = "0.1.58"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/CalebEverett/arloader"
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ fn get_app() -> App<'static, 'static> {
.arg(ar_default_keypair())
.arg(with_sol_arg().requires("sol_keypair_path"))
.arg(sol_keypair_path_arg())
.arg(buffer_arg("5"))
.arg(buffer_arg("1"))
.arg(bundle_size_arg())
.group(
ArgGroup::with_name("ar_keypair")
Expand Down Expand Up @@ -586,7 +586,7 @@ fn get_app() -> App<'static, 'static> {
.arg(ar_default_keypair())
.arg(with_sol_arg().requires("sol_keypair_path"))
.arg(sol_keypair_path_arg())
.arg(buffer_arg("5"))
.arg(buffer_arg("1"))
.arg(bundle_size_arg())
.group(
ArgGroup::with_name("ar_keypair")
Expand Down Expand Up @@ -620,7 +620,7 @@ fn get_app() -> App<'static, 'static> {
.arg(ar_default_keypair())
.arg(with_sol_arg().requires("sol_keypair_path"))
.arg(sol_keypair_path_arg())
.arg(buffer_arg("5"))
.arg(buffer_arg("1"))
.arg(bundle_size_arg())
.arg(link_file_arg())
.group(
Expand Down

0 comments on commit 5d856da

Please sign in to comment.