Getdown timeout when host unavailable

42 views
Skip to first unread message

makkus

unread,
Apr 10, 2013, 1:38:48 AM4/10/13
to ooo-...@googlegroups.com
Hi,

is it possible to set a timeout (shorter than that current default) for the case when the server that hosts the jar files is not available? So that the last jar is run, without update-check.

Cheers,
Markus

Michael Bayne

unread,
Apr 10, 2013, 4:32:25 PM4/10/13
to ooo-...@googlegroups.com

On Tue, Apr 9, 2013 at 10:38 PM, makkus <mak...@gmail.com> wrote:
is it possible to set a timeout (shorter than that current default) for the case when the server that hosts the jar files is not available? So that the last jar is run, without update-check.

I just added an option -Dconnect_timeout=N where N is a number in seconds. You'll need to download and build Getdown from source until the next release comes out.

I assume your problem is that the server is gone completely, rather than refusing connections, because if the server refused the connection, it would fail immediately and fall back to launching the app as is (assuming you have allow_offline set to true).


makkus

unread,
Apr 14, 2013, 5:10:17 PM4/14/13
to ooo-...@googlegroups.com
Hi Michael,

great, thanks for that! You are right, I had a case where the server was down completely. Will try it out sometime this week.

Cheers,
Markus
Reply all
Reply to author
Forward
0 new messages