diff --git a/src/index.ts b/src/index.ts index a75be70..44e3fd6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -94,6 +94,7 @@ export default class DHTCache extends EventEmitter { this._cache.add(item); this._ensureItem(item); + this._addEntityConnection(this.id, item); const broadcast = () => { this._broadcastMessage({