1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 00:08:51 -05:00

* set more sensible http connection timeouts in the GUI application launchers => -Dsun.net.client.defaultConnectTimeout=5000

-Dsun.net.client.defaultReadTimeout=25000
This commit is contained in:
Reinhard Pointner 2012-07-07 08:19:00 +00:00
parent ae71d809ea
commit 8921cfc934
4 changed files with 21 additions and 7 deletions

View File

@ -156,6 +156,8 @@
<!-- build app bundle folder and add native libs -->
<jarbundler dir="${dir.dist}" name="${title}" version="${version}" build="${svn.revision}" icon="${dir.installer}/appbundle/icon.icns" bundleid="net.sourceforge.filebot" jar="${dir.dist}/appbundle/FileBot.jar" stubfile="${dir.installer}/appbundle/JavaApplicationStub" workingdirectory="$APP_PACKAGE/Contents/Resources/Java" mainclass="net.sourceforge.filebot.Main" jvmversion="1.6+" vmoptions="-Xmx256m">
<javaproperty name="application.deployment" value="app" />
<javaproperty name="sun.net.client.defaultConnectTimeout" value="5000" />
<javaproperty name="sun.net.client.defaultReadTimeout" value="25000" />
</jarbundler>
<!-- shell scripts -->

View File

@ -8,3 +8,7 @@
# proxy settings
# -Dhttp.proxyHost=localhost
# -Dhttp.proxyPort=8888
# http connection timeouts
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=25000

View File

@ -6,13 +6,17 @@
-DthreadPool=8
-Dunixfs=false
# memory settings
-Xms64m
-Xmx512m
# proxy settings
# -Dhttp.proxyHost=localhost
# -Dhttp.proxyPort=8888
# memory settings
-Xms64m
-Xmx512m
# http connection timeouts
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=25000
# force english locale
-Dfile.encoding=UTF-8

View File

@ -6,14 +6,18 @@
# memory settings
-Xmx256m
# look for native libs here
-Djna.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# proxy settings
# -Dhttp.proxyHost=localhost
# -Dhttp.proxyPort=8888
# http connection timeouts
-Dsun.net.client.defaultConnectTimeout=5000
-Dsun.net.client.defaultReadTimeout=25000
# look for native libs here
-Djna.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# store preferences to text file
-Djava.util.prefs.PreferencesFactory=net.sourceforge.tuned.prefs.FilePreferencesFactory
-Dnet.sourceforge.tuned.prefs.file=prefs.properties