Rising the limit for fetch (#3964)
This commit is contained in:
parent
e7ca4445e2
commit
6251289b85
@ -78,8 +78,8 @@ pub struct Client {
|
|||||||
|
|
||||||
impl Client {
|
impl Client {
|
||||||
pub fn new() -> Result<Self, Error> {
|
pub fn new() -> Result<Self, Error> {
|
||||||
// Max 15MB will be downloaded.
|
// Max 50MB will be downloaded.
|
||||||
Self::with_limit(Some(15*1024*1024))
|
Self::with_limit(Some(50*1024*1024))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn with_limit(limit: Option<usize>) -> Result<Self, Error> {
|
fn with_limit(limit: Option<usize>) -> Result<Self, Error> {
|
||||||
|
Loading…
Reference in New Issue
Block a user