diff --git a/server/.gitignore b/server/.gitignore index 67ab059..8b84213 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -24,4 +24,6 @@ dist-ssr *.sln *.sw? -.env \ No newline at end of file +.env +*.db +*.db-lck \ No newline at end of file diff --git a/server/src/calendardb.lmdbx.ts b/server/src/calendardb.lmdbx.ts index c6b20e9..2e4bc6e 100644 --- a/server/src/calendardb.lmdbx.ts +++ b/server/src/calendardb.lmdbx.ts @@ -2,13 +2,13 @@ import type { CalendarDatabase } from "./calendardb.interfaces.js"; import { open } from "lmdbx"; const calendarAggregatesDb = open({ - path: "/tmp/calendar-aggregates.db", + path: "./calendar-aggregates.db", // any options go here, we can turn on compression like this: compression: true, }); const calendarExistenceDb = open({ - path: "/tmp/calendar-existence.db", + path: "./calendar-existence.db", // any options go here, we can turn on compression like this: compression: true, }); diff --git a/server/src/optiondb.lmdbx.ts b/server/src/optiondb.lmdbx.ts index 9fbf8a2..be69408 100644 --- a/server/src/optiondb.lmdbx.ts +++ b/server/src/optiondb.lmdbx.ts @@ -2,13 +2,13 @@ import type { OptionContractDatabase } from "./optiondb.interfaces.js"; import { open } from "lmdbx"; const optionContractAggregatesDb = open({ - path: "/tmp/option-contract-aggregates.db", + path: "./option-contract-aggregates.db", // any options go here, we can turn on compression like this: compression: true, }); const optionContractExistenceDb = open({ - path: "/tmp/option-contract-existence.db", + path: "./option-contract-existence.db", // any options go here, we can turn on compression like this: compression: true, });