From fd194c6530c2d76abae71c0db2b6193018c54450 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Sun, 7 Mar 2010 03:31:37 +0000 Subject: [PATCH] timeout --- sensor_graph/sample_sensor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensor_graph/sample_sensor.lua b/sensor_graph/sample_sensor.lua index ad3550d..9ff02a2 100644 --- a/sensor_graph/sample_sensor.lua +++ b/sensor_graph/sample_sensor.lua @@ -35,7 +35,7 @@ local client = assert(socket.connect("127.0.0.1",2010)) --socket.unix = require("socket.unix") --local socket = assert(socket.unix()) --local client = assert(socket:connect("/var/run/power_sensor.socket")) -client:settimeout(10) +client:settimeout(30) -- 1.7.10.4