summaryrefslogtreecommitdiff
path: root/ebus/datastore.py
diff options
context:
space:
mode:
authorEbus-at-dockstar <ebus@dockstar>2013-03-08 01:46:12 +0100
committerEbus-at-dockstar <ebus@dockstar>2013-03-08 01:46:12 +0100
commitc3d899867b26192562d9e4797e09f73842df241d (patch)
tree51aee9f1ae41ee7c798b77dd032d4a2df5253241 /ebus/datastore.py
parent604e92559787ed7e7b590321f6a1ff8fc515e06d (diff)
downloadebus-alt-c3d899867b26192562d9e4797e09f73842df241d.tar.gz
ebus-alt-c3d899867b26192562d9e4797e09f73842df241d.zip
flush every 30sec
Diffstat (limited to 'ebus/datastore.py')
-rw-r--r--ebus/datastore.py3
1 files changed, 2 insertions, 1 deletions
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()
+