As mentioned in another issue, we want to get rid of seemingly arbitrary values with constants where relevant, to reduce future bugs.
Examples include:
- Table identifiers (b"bucket" and b"_keys" in the
storage.py)
- Random name length of 11, used in
storage.py and lsh.py
- Buffer size default (set as 50000 some times in
storage.py and lsh.py, and 5000 sometimes, as in the Cassandra storage in storage.py).
etc.
As mentioned in another issue, we want to get rid of seemingly arbitrary values with constants where relevant, to reduce future bugs.
Examples include:
storage.py)storage.pyandlsh.pystorage.pyandlsh.py, and 5000 sometimes, as in theCassandrastorage instorage.py).etc.