mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Fix maxHistory in all data stores
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
"main": "src/OrbitDB.js",
|
||||
"dependencies": {
|
||||
"logplease": "^1.2.7",
|
||||
"orbit-db-counterstore": "0.0.14",
|
||||
"orbit-db-eventstore": "0.0.18",
|
||||
"orbit-db-feedstore": "0.0.15",
|
||||
"orbit-db-kvstore": "0.0.14",
|
||||
"orbit-db-counterstore": "0.0.15",
|
||||
"orbit-db-eventstore": "0.0.19",
|
||||
"orbit-db-feedstore": "0.0.16",
|
||||
"orbit-db-kvstore": "0.0.15",
|
||||
"socket.io-client": "^1.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -76,7 +76,7 @@ class OrbitDB {
|
||||
store.events.on('close', this._onClose.bind(this));
|
||||
|
||||
if(subscribe && this._pubsub)
|
||||
this._pubsub.subscribe(dbname, '', this._onMessage.bind(this));
|
||||
this._pubsub.subscribe(dbname, '', this._onMessage.bind(this), store.options.maxHistory > 0);
|
||||
|
||||
return store.use(this.user.username);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user