Browse Source

Move lockfile out of data dir, to avoid stream tree conflicts

tags/nilmdb-1.4.4
Jim Paris 11 years ago
parent
commit
304bb43d85
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nilmdb/server/bulkdata.py

+ 1
- 1
nilmdb/server/bulkdata.py View File

@@ -27,7 +27,7 @@ class BulkData(object):
def __init__(self, basepath, **kwargs):
self.basepath = basepath
self.root = os.path.join(self.basepath, "data")
self.lock = os.path.join(self.root, "lock")
self.lock = self.root + ".lock"
self.lockfile = None

# Tuneables


Loading…
Cancel
Save