forked from I2P_Developers/i2p.i2p
* Throttle: Decrease default max tunnels to 2500
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-07-24 zzz
|
||||||
|
* Eepsite: Add Deutsch index page and css (thanks sperrbezirk!)
|
||||||
|
* Router: Support i2p.dir.base and i2p.dir.config passed in via properties
|
||||||
|
* Throttle: Decrease default max tunnels to 2500
|
||||||
|
|
||||||
2009-07-23 dr|z3d
|
2009-07-23 dr|z3d
|
||||||
* Include additional tile graphics and I2PSnark header logo in /console/images/
|
* Include additional tile graphics and I2PSnark header logo in /console/images/
|
||||||
* Tidy up some layout irks; add some last minute 0.7.6 pre-release sparkle!
|
* Tidy up some layout irks; add some last minute 0.7.6 pre-release sparkle!
|
||||||
|
@@ -125,7 +125,14 @@ public class Router {
|
|||||||
// we need the user directory figured out by now, so figure it out here rather than
|
// we need the user directory figured out by now, so figure it out here rather than
|
||||||
// in the RouterContext() constructor.
|
// in the RouterContext() constructor.
|
||||||
//
|
//
|
||||||
// Fixme read config file before migration? or before? or both?
|
// We have not read the config file yet. Therefore the base and config locations
|
||||||
|
// are determined solely by properties (first envProps then System), for the purposes
|
||||||
|
// of initializing the user's config directory if it did not exist.
|
||||||
|
// If the base dir and/or config dir are set in the config file,
|
||||||
|
// they wil be used after the initialization of the (possibly different) dirs
|
||||||
|
// determined by WorkingDir.
|
||||||
|
// So for now, it doesn't make much sense to set the base or config dirs in the config file -
|
||||||
|
// use properties instead. If for some reason, distros need this, we can revisit it.
|
||||||
//
|
//
|
||||||
// Then add it to envProps (but not _config, we don't want it in the router.config file)
|
// Then add it to envProps (but not _config, we don't want it in the router.config file)
|
||||||
// where it will then be available to all via _context.dir()
|
// where it will then be available to all via _context.dir()
|
||||||
|
@@ -31,7 +31,7 @@ class RouterThrottleImpl implements RouterThrottle {
|
|||||||
private static int THROTTLE_EVENT_LIMIT = 30;
|
private static int THROTTLE_EVENT_LIMIT = 30;
|
||||||
|
|
||||||
private static final String PROP_MAX_TUNNELS = "router.maxParticipatingTunnels";
|
private static final String PROP_MAX_TUNNELS = "router.maxParticipatingTunnels";
|
||||||
private static final int DEFAULT_MAX_TUNNELS = 3000;
|
private static final int DEFAULT_MAX_TUNNELS = 2500;
|
||||||
private static final String PROP_DEFAULT_KBPS_THROTTLE = "router.defaultKBpsThrottle";
|
private static final String PROP_DEFAULT_KBPS_THROTTLE = "router.defaultKBpsThrottle";
|
||||||
private static final String PROP_MAX_PROCESSINGTIME = "router.defaultProcessingTimeThrottle";
|
private static final String PROP_MAX_PROCESSINGTIME = "router.defaultProcessingTimeThrottle";
|
||||||
private static final int DEFAULT_MAX_PROCESSINGTIME = 1500;
|
private static final int DEFAULT_MAX_PROCESSINGTIME = 1500;
|
||||||
|
@@ -18,9 +18,9 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 21-rc;
|
public final static long BUILD = 22;
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "-rc";
|
||||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + FULL_VERSION);
|
System.out.println("I2P Router version: " + FULL_VERSION);
|
||||||
|
Reference in New Issue
Block a user