From c3d899867b26192562d9e4797e09f73842df241d Mon Sep 17 00:00:00 2001 From: Ebus-at-dockstar Date: Fri, 8 Mar 2013 01:46:12 +0100 Subject: flush every 30sec --- ebus/datastore.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ebus/datastore.py') diff --git a/ebus/datastore.py b/ebus/datastore.py index 930b4fb..3ac63e1 100644 --- a/ebus/datastore.py +++ b/ebus/datastore.py @@ -1,8 +1,8 @@ # - import os from threading import Lock import tables +import logging class ValueFloat(tables.IsDescription): timestamp = tables.Time32Col() #index on Time64 is broken on pytables 2.4 @@ -97,3 +97,4 @@ class Datastore(object): for file in self.files.values(): file.close() + -- cgit v1.2.1