Increase HTTP timeout for Octoprint upload. #2481

This commit is contained in:
Alessandro Ranellucci 2015-01-04 15:30:31 +01:00
parent 6438bfc3cb
commit af1b705563

View File

@ -1088,7 +1088,7 @@ sub send_gcode {
$self->statusbar->StartBusy;
my $ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->timeout(180);
my $res = $ua->post(
"http://" . $self->{config}->octoprint_host . "/api/files/local",