* 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:
parent
ae71d809ea
commit
8921cfc934
|
@ -156,6 +156,8 @@
|
||||||
<!-- build app bundle folder and add native libs -->
|
<!-- 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">
|
<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="application.deployment" value="app" />
|
||||||
|
<javaproperty name="sun.net.client.defaultConnectTimeout" value="5000" />
|
||||||
|
<javaproperty name="sun.net.client.defaultReadTimeout" value="25000" />
|
||||||
</jarbundler>
|
</jarbundler>
|
||||||
|
|
||||||
<!-- shell scripts -->
|
<!-- shell scripts -->
|
||||||
|
|
|
@ -8,3 +8,7 @@
|
||||||
# proxy settings
|
# proxy settings
|
||||||
# -Dhttp.proxyHost=localhost
|
# -Dhttp.proxyHost=localhost
|
||||||
# -Dhttp.proxyPort=8888
|
# -Dhttp.proxyPort=8888
|
||||||
|
|
||||||
|
# http connection timeouts
|
||||||
|
-Dsun.net.client.defaultConnectTimeout=5000
|
||||||
|
-Dsun.net.client.defaultReadTimeout=25000
|
||||||
|
|
|
@ -6,13 +6,17 @@
|
||||||
-DthreadPool=8
|
-DthreadPool=8
|
||||||
-Dunixfs=false
|
-Dunixfs=false
|
||||||
|
|
||||||
|
# memory settings
|
||||||
|
-Xms64m
|
||||||
|
-Xmx512m
|
||||||
|
|
||||||
# proxy settings
|
# proxy settings
|
||||||
# -Dhttp.proxyHost=localhost
|
# -Dhttp.proxyHost=localhost
|
||||||
# -Dhttp.proxyPort=8888
|
# -Dhttp.proxyPort=8888
|
||||||
|
|
||||||
# memory settings
|
# http connection timeouts
|
||||||
-Xms64m
|
-Dsun.net.client.defaultConnectTimeout=5000
|
||||||
-Xmx512m
|
-Dsun.net.client.defaultReadTimeout=25000
|
||||||
|
|
||||||
# force english locale
|
# force english locale
|
||||||
-Dfile.encoding=UTF-8
|
-Dfile.encoding=UTF-8
|
||||||
|
|
|
@ -6,14 +6,18 @@
|
||||||
# memory settings
|
# memory settings
|
||||||
-Xmx256m
|
-Xmx256m
|
||||||
|
|
||||||
# look for native libs here
|
|
||||||
-Djna.library.path="%EXEDIR%"
|
|
||||||
-Djava.library.path="%EXEDIR%"
|
|
||||||
|
|
||||||
# proxy settings
|
# proxy settings
|
||||||
# -Dhttp.proxyHost=localhost
|
# -Dhttp.proxyHost=localhost
|
||||||
# -Dhttp.proxyPort=8888
|
# -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
|
# store preferences to text file
|
||||||
-Djava.util.prefs.PreferencesFactory=net.sourceforge.tuned.prefs.FilePreferencesFactory
|
-Djava.util.prefs.PreferencesFactory=net.sourceforge.tuned.prefs.FilePreferencesFactory
|
||||||
-Dnet.sourceforge.tuned.prefs.file=prefs.properties
|
-Dnet.sourceforge.tuned.prefs.file=prefs.properties
|
||||||
|
|
Loading…
Reference in New Issue