Skip to content
Snippets Groups Projects

Per process shared memory

Open Karsten Prehn requested to merge fix/per-process-shared-mem into main
Files
2
@@ -169,7 +169,9 @@ class DataManager(TilesDatabase, Quadtile):
_quadkeys_str = "-".join(_quadkeys)
# Return a hash value unique to the Discretizer process
return hashlib.md5(os.path.realpath(f"{filepath}/{_quadkeys_str}").encode("utf-8")).hexdigest()
return hashlib.md5(
os.path.realpath(f"{filepath}/{_quadkeys_str}").encode("utf-8")
).hexdigest()
def features(self, filepath, **kwargs):
"""
Loading