Skip to content

Commit

Permalink
fix: fix redisHashKeyValueDB name
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnagydavid committed Oct 21, 2024
1 parent 9dec99d commit 40800b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/redisHashKeyValueDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { RedisKeyValueDBCfg } from './redisKeyValueDB'
* Once the available Redis version reaches 7.4.0+,
* this implementation can take over for RedisKeyValueDB.
*/
export class RedishHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable {
export class RedisHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable {
constructor(public cfg: RedisKeyValueDBCfg) {}

support = {
Expand Down
4 changes: 2 additions & 2 deletions src/test/redis.hash.manual.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { runCommonKeyValueDaoTest } from '@naturalcycles/db-lib/dist/testing/key
import { KeyValueDBTuple } from '@naturalcycles/db-lib/src/kv/commonKeyValueDB'
import { _AsyncMemo, _range, localTime, pDelay } from '@naturalcycles/js-lib'
import { RedisClient } from '../redisClient'
import { RedishHashKeyValueDB } from '../redisHashKeyValueDB'
import { RedisHashKeyValueDB } from '../redisHashKeyValueDB'

const client = new RedisClient()
const db = new RedishHashKeyValueDB({ client })
const db = new RedisHashKeyValueDB({ client })

const dao = new CommonKeyValueDao<string, Buffer>({
db,
Expand Down

0 comments on commit 40800b7

Please sign in to comment.