You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
[2021-04-22T22:09:08.111Z] New connection to "new-doc" …
[2021-04-22T22:09:08.111Z] Created document "new-doc" …
(node:53740) UnhandledPromiseRejectionWarning: Error: "new-doc" is already bound to this RedisPersistence instance
at Object.error.create (~/repo/hocuspocus/node_modules/lib0/error.js:12:28)
at RedisPersistence.bindState (~/repo/hocuspocus/node_modules/y-redis/src/y-redis.js:158:13)
at Redis.onCreateDocument (file://~/repo/hocuspocus/node_modules/@hocuspocus/extension-redis/src/Redis.ts:45:28)
at file://~/repo/hocuspocus/node_modules/@hocuspocus/server/src/Hocuspocus.ts:288:74
...
Setup:
extensions: [
// Log level is not configurable at the moment.
new Logger(),
new Redis({
host: process.env.REDIS_HOST,
port: process.env.REDIS_PORT,
}),
new RocksDB({
// [required] Path to the directory to store the actual data in
path: "./database",
// [optional] Configuration options for theRocksDB adapter, defaults to "{}“ options: { // This option is only a example. See here for a full list: // https://www.npmjs.com/package/leveldown#options createIfMissing: true, }, }),],
The text was updated successfully, but these errors were encountered:
Sorry for the long silence. Good news though! We’ll start to work on a complete overhaul of the Redis extension for hocuspocus together with the creator of Y.js next week. ✌️
The text was updated successfully, but these errors were encountered: