diff options
author | Dr Scofield | 2009-04-21 13:17:34 +0000 |
---|---|---|
committer | Dr Scofield | 2009-04-21 13:17:34 +0000 |
commit | f31a60bad7133f877fe50570d811b320905280ab (patch) | |
tree | b3d64380d1c85079058bc4267c4242ae3880d4de /OpenSim/ScriptEngine/Components | |
parent | * Implements Extensions to MRM. This allows Region Modules to insert new clas... (diff) | |
download | opensim-SC-f31a60bad7133f877fe50570d811b320905280ab.zip opensim-SC-f31a60bad7133f877fe50570d811b320905280ab.tar.gz opensim-SC-f31a60bad7133f877fe50570d811b320905280ab.tar.bz2 opensim-SC-f31a60bad7133f877fe50570d811b320905280ab.tar.xz |
From: Alan Webb <alan_webb@us.ibm.com>
Fixes IRC reconnect problem
When a session fails to establish, the login attempt eventually
times out and the login is retried. This should occur once every
25 seconds (to give the server plenty of time to respond). In fact
the interval was typically only 10 seconds, this was being caused
by a second reset that was being scheduled when the failed
listener thread was terminated. Because the second reset occurred
inside the ICC timeout, it eventually gets scheduled after only
10 seconds.
In addition to this, the connector was being added to the monitoring
twice. This was harmless, but entirely redundant.
Both of these problems have been fixed and tested. Each connector
now maintains a count of how often it has been reset. The listener
thread records this value on entry and checks for a change on exit.
If the counts are the same, then the listener is exiting and can
potentially reschedule the connection.
Diffstat (limited to 'OpenSim/ScriptEngine/Components')
0 files changed, 0 insertions, 0 deletions