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:
parent
ae71d809ea
commit
8921cfc934
@ -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 -->
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user