UCLA-IRL / ndn-python-repo

An NDN Repo implementation in Python
Apache License 2.0
16 stars 13 forks source link

How to select alternative storage backends #11

Closed Pesa closed 4 years ago

Pesa commented 4 years ago

I couldn't figure out how to configure the repo to use leveldb instead of sqlite.

JonnyKong commented 4 years ago

Fixed with https://github.com/JonnyKong/ndn-python-repo/commit/30aefcf6631d12ffed164ea2a0ab01ca1c455844. One can select which database to use in the configuration file.

Pesa commented 4 years ago

The default backend in the config file is leveldb, is that intended? If so, update the README.

JonnyKong commented 4 years ago

Sorry, it's a typo. Default database is intended to be sqlite3. Fixed with 38b0ad659672de66479572350756e87212047c0b.