Skip to content

Commit

Permalink
increase upload buffer size back to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebEverett committed Feb 26, 2022
1 parent b89d8ef commit b7a336f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +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.59 (2022-02-26)
- **added:** add logic to retry uploading chunks until they receive a status 200 response.
- **changed:** increase upload buffer size to 5 now that chunks are retried if not 200 response.

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

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 <[email protected]>"]
description = "Command line application and library for uploading files to Arweave."
version = "0.1.58"
version = "0.1.59"
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("1"))
.arg(buffer_arg("5"))
.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("1"))
.arg(buffer_arg("5"))
.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("1"))
.arg(buffer_arg("5"))
.arg(bundle_size_arg())
.arg(link_file_arg())
.group(
Expand Down

0 comments on commit b7a336f

Please sign in to comment.