Author: titmuss
Date: Wed Nov 12 09:03:56 2008
New Revision: 3347
URL: http://svn.slimdevices.com?rev=3347&root=Jive&view=rev
Log:
Bug: N/A
Description:
We have some reports on the forum where jive now reboots during the splash
screen. Tweak the watchdog timer again.
Modified:
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Modified:
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua?rev=3347&root=Jive&r1=3346&r2=3347&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Wed Nov 12 09:03:56 2008
@@ -116,11 +116,17 @@
-- watchdog timer
self.watchdog = Watchdog:open()
if self.watchdog then
- self.watchdog:setTimeout(15) -- 15 seconds
+ -- allow 30 seconds to boot
+ self.watchdog:setTimeout(30)
local timer = Timer(2000, -- 2 seconds
- function()
- self.watchdog:keepAlive()
- end)
+ function()
+ -- 10 second when running
+ if not self.watchdogRunning then
+ self.watchdog:setTimeout(10)
+ self.watchdogRunning = true
+ end
+ self.watchdog:keepAlive()
+ end)
timer:start()
else
log:warn("Watchdog timer is disabled")
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins