From e4b41f5bb0645990401d69dc5ffb1839c5f8cf73 Mon Sep 17 00:00:00 2001 From: jrandom <jrandom> Date: Mon, 29 Nov 2004 22:27:39 +0000 Subject: [PATCH] 2004-11-29 jrandom * Reduced contention for local client delivery * Drop the new code that munges the wrapper.config. Instead, updates that need to change it will include their own wrapper.config in the i2pupdate.zip, overwriting the existing file. If the file "wrapper.config.updated" is included, it is deleted at first opportunity and the router shut down, displaying a notice that the router must be started again cleanly to allow the changes to the wrapper.config to take effect. * Properly stop accept()ing I2PSocket connections if we close down the session (duh). * Make sure we cancel any outstanding Packets in flight when a connection is terminated (thanks susi!) * Split up the I2PTunnel closing a little further. --- installer/resources/wrapper.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer/resources/wrapper.config b/installer/resources/wrapper.config index a43af1b2d5..30d97e8220 100644 --- a/installer/resources/wrapper.config +++ b/installer/resources/wrapper.config @@ -103,6 +103,9 @@ wrapper.jvm_exit.timeout=10 # give the OS 60s to clear all the old sockets / etc before restarting wrapper.restart.delay=60 +wrapper.ping.interval=600 +wrapper.ping.timeout=605 + # use the wrapper's internal timer thread. otherwise this would # force a restart of the router during daylight savings time as well # as any time that the OS clock changes -- GitLab