Skip to content

Commit

Permalink
Merge pull request bitfinexcom#840 from tekwani/features/set_sqlite_d…
Browse files Browse the repository at this point in the history
…b_path

Provide sqlite db dir path to Data server.
  • Loading branch information
bhoomij authored Aug 24, 2023
2 parents fb9fedb + 32c4f1b commit 115a85c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/start-ds-bitfinex.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ const dbBitfinex = new HFDB({
const dsBitfinex = new DataServer({
port: 23521,
db: dbBitfinex,
sqlitePath: `${os.homedir()}/.bitfinexhoney`,
})

dsBitfinex.open()
.catch(err => {
console.error(err)
})

0 comments on commit 115a85c

Please sign in to comment.