Author: andy
Date: Tue Feb 5 14:23:48 2008
New Revision: 1823
URL: http://svn.slimdevices.com?rev=1823&root=Jive&view=rev
Log:
Bug 6956, always update the last seen time for servers, increase the server
timeout to 2 minutes
Modified:
branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua
Modified: branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua
URL:
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua?rev=1823&root=Jive&r1=1822&r2=1823&view=diff
==============================================================================
--- branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua (original)
+++ branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua Tue Feb 5
14:23:48 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