Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Increase max download limit to 128MB #7965

Merged
merged 2 commits into from
Feb 22, 2018
Merged

Conversation

andresilva
Copy link
Contributor

On macOS the parity binary is larger than 50MB and the auto-update failed because of this.

2018-02-21 10:16:50 UTC Unable to fetch update (1.9.3-beta-804d…b95b): IO(Error { repr: Custom(Custom { kind: PermissionDenied, error: StringError("Size limit reached.") }) })

@andresilva andresilva added A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). M4-core ⛓ Core client code / Rust. labels Feb 21, 2018
Copy link
Collaborator

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Might be good to actually set up different limits just for updater?

@andresilva
Copy link
Contributor Author

@tomusdrw Done. Should we decrease the original limit or leave it at 50MB as it was?

@tomusdrw
Copy link
Collaborator

@andresilva IMHO we should have 32MB (or 64MB) limit for dapps/content and then perhaps 128MB for the updater (to be future-proof).

@5chdn 5chdn added this to the 1.10 milestone Feb 21, 2018
@5chdn
Copy link
Contributor

5chdn commented Feb 21, 2018

Does not compile

@andresilva
Copy link
Contributor Author

Oops, fixed and increased the updater size limit to 128MB.

@NikVolf NikVolf changed the title Increase max download limit to 64MB Increase max download limit to 128MB Feb 21, 2018
@5chdn 5chdn merged commit e0b4506 into master Feb 22, 2018
@5chdn 5chdn deleted the andre-increase-fetch-limit branch February 22, 2018 10:22
tomusdrw pushed a commit that referenced this pull request Feb 27, 2018
* fetch: increase max download limit to 64MB

* parity: increase download size limit for updater service
@tomusdrw tomusdrw mentioned this pull request Feb 27, 2018
5chdn pushed a commit that referenced this pull request Feb 27, 2018
* Detect too large packets in snapshot sync. (#7977)

* Increase max download limit to 128MB (#7965)

* fetch: increase max download limit to 64MB

* parity: increase download size limit for updater service

* Calculate proper keccak256/sha3 using parity. (#7953)

* Bump WS (#7952)
tomusdrw pushed a commit that referenced this pull request Feb 27, 2018
* fetch: increase max download limit to 64MB

* parity: increase download size limit for updater service
@tomusdrw tomusdrw mentioned this pull request Feb 27, 2018
10 tasks
5chdn pushed a commit that referenced this pull request Feb 28, 2018
* Hardware-wallet/usb-subscribe-refactor (#7860)

* Hardware-wallet fix

* More fine-grained initilization of callbacks by vendorID, productID and usb class
* Each device manufacturer gets a seperate handle thread each
* Replaced "dummy for loop" with a delay to wait for the device to boot-up properly
* Haven't been very carefully with checking dependencies cycles etc
* Inline comments explaining where shortcuts have been taken
* Need to test this on Windows machine and with Ledger (both models)

Signed-off-by: niklasad1 <niklasadolfsson1@gmail.com>

* Validate product_id of detected ledger devices

* closed_device => unlocked_device

* address comments

* add target in debug

* Address feedback

* Remove thread joining in HardwareWalletManager
* Remove thread handlers in HardwareWalletManager because this makes them unused

* fixed broken logs (#7934)

* fixed broken logs

* bring back old lock order

* removed bloom groups from blockchain

* revert unrelated changes

* simplify blockchain_block_blooms

* Bump WS (#7952)

* Calculate proper keccak256/sha3 using parity. (#7953)

* Increase max download limit to 128MB (#7965)

* fetch: increase max download limit to 64MB

* parity: increase download size limit for updater service

* Detect too large packets in snapshot sync. (#7977)

* fix traces, removed bloomchain crate, closes #7228, closes #7167 (#7979)

* Remvoe generator.rs

* Make block generator easier to use (#7888)

* Make block generator easier to use

* applied review suggestions

* rename BlockMetadata -> BlockOptions

* removed redundant uses of blockchain generator and genereator.next().unwrap() calls
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants