Commit 501d2e0a authored by taco@waag.org's avatar taco@waag.org
Browse files

removed todo's

parent 6120a234
......@@ -49,7 +49,7 @@ get '/sensor/:type' do
x
}
body = result.to_json
$redis.set uri, body, {:ex => 3600} #one hour TODO: maybe the number of seconds until the next whole hour?
$redis.set uri, body, {:ex => 3600}
end
body
end
......@@ -126,7 +126,7 @@ def retrieveSensorData(params)
{ds_names[index] => all_values.flatten}
}
body = all_pages.to_json
$redis.set uri, body, {:ex => 3600} #TODO: or maybe the number of seconds until the next whole hour?
$redis.set uri, body, {:ex => 3600}
end
body
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment