Author: titmuss
Date: Tue Feb  5 15:03:41 2008
New Revision: 1826

URL: http://svn.slimdevices.com?rev=1826&root=Jive&view=rev
Log:
 [EMAIL PROTECTED] (orig r1823):  andy | 2008-02-05 22:23:48 +0000
 Bug 6956, always update the last seen time for servers, increase the server 
timeout to 2 minutes

Modified:
    trunk/   (props changed)
    trunk/jive/src/pkg/jive/share/jive/slim/SlimServers.lua

Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Tue Feb  5 15:03:41 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1822
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1823
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Modified: trunk/jive/src/pkg/jive/share/jive/slim/SlimServers.lua
URL: 
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/jive/slim/SlimServers.lua?rev=1826&root=Jive&r1=1825&r2=1826&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/jive/slim/SlimServers.lua (original)
+++ trunk/jive/src/pkg/jive/share/jive/slim/SlimServers.lua Tue Feb  5 15:03:41 
2008
@@ -52,7 +52,7 @@
 
 -- constants
 local PORT    = 3483            -- port used to discover servers
-local TIMEOUT = 60000           -- timeout (in milliseconds) before removing 
servers
+local TIMEOUT = 120000          -- timeout (in milliseconds) before removing 
servers
 
 
 -- t_source
@@ -90,12 +90,11 @@
                -- notify
                self.jnt:notify('serverNew', server)    
 
-       else
-       
-               -- update the server with the name info, might have changed
-               -- also keeps track of the last time we've seen the server for 
deletion
-               self._servers[ss_id]:updateFromUdp(ss_name)
-       end
+       end
+       
+       -- update the server with the name info, might have changed
+       -- also keeps track of the last time we've seen the server for deletion
+       self._servers[ss_id]:updateFromUdp(ss_name)
 end
 
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to