Open jonyrock-back opened 4 years ago
I believe that this all related only to nedb logic, nothing else
export const DATA_PATH = path.join(__dirname, '../../data'); export const ANALYTIC_UNITS_DATABASE_PATH = path.join(DATA_PATH, 'analytic_units.db'); export const ANALYTIC_UNIT_CACHES_DATABASE_PATH = path.join(DATA_PATH, 'analytic_unit_caches.db'); export const SEGMENTS_DATABASE_PATH = path.join(DATA_PATH, 'segments.db'); export const THRESHOLD_DATABASE_PATH = path.join(DATA_PATH, 'treshold.db'); export const DETECTION_SPANS_DATABASE_PATH = path.join(DATA_PATH, 'detection_spans.db'); export const DB_META_PATH = path.join(DATA_PATH, 'db_meta.db');
maybe we can make a separate config for nedb, something like nedb.json where we put all related to nedb variables
nedb.json
I believe that this all related only to nedb logic, nothing else
maybe we can make a separate config for nedb, something like
nedb.json
where we put all related to nedb variables