use the CV2 db instance if the path prefix is cv2://

This commit is contained in:
Grant Limberg 2025-04-03 14:38:58 -07:00
parent 0b04f772ef
commit 1d2130610c
3 changed files with 9 additions and 7 deletions

View file

@ -15,8 +15,8 @@
#ifdef ZT_CONTROLLER_USE_LIBPQ
#ifndef ZT_CONTROLLER_LIBPQ_HPP
#define ZT_CONTROLLER_LIBPQ_HPP
#ifndef ZT_CONTROLLER_CV2_HPP
#define ZT_CONTROLLER_CV2_HPP
#define ZT_CENTRAL_CONTROLLER_COMMIT_THREADS 4
@ -108,5 +108,5 @@ private:
} // namespace Zerotier
#endif // ZT_CONTROLLER_LIBPQ_HPP
#endif // ZT_CONTROLLER_CV2_HPP
#endif // ZT_CONTROLLER_USE_LIBPQ