Increase HTTP timeout for Octoprint upload. #2481
This commit is contained in:
parent
6438bfc3cb
commit
af1b705563
@ -1088,7 +1088,7 @@ sub send_gcode {
|
|||||||
$self->statusbar->StartBusy;
|
$self->statusbar->StartBusy;
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new;
|
my $ua = LWP::UserAgent->new;
|
||||||
$ua->timeout(10);
|
$ua->timeout(180);
|
||||||
|
|
||||||
my $res = $ua->post(
|
my $res = $ua->post(
|
||||||
"http://" . $self->{config}->octoprint_host . "/api/files/local",
|
"http://" . $self->{config}->octoprint_host . "/api/files/local",
|
||||||
|
Loading…
Reference in New Issue
Block a user