Skip to content

Commit

Permalink
remove GC producer from ObjectProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Sep 25, 2024
1 parent 92520d5 commit fed5b88
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class LifecycleObjectProcessor extends EventEmitter {
this._lcConfig = lcConfig;
this._processConfig = this.getProcessConfig(this._lcConfig);
this._consumers = null;
this._gcProducer = null;

this.clientManager = new ClientManager({
id: this.getProcessorType(),
Expand Down Expand Up @@ -133,10 +132,6 @@ class LifecycleObjectProcessor extends EventEmitter {
this.clientManager.initCredentialsManager();
async.parallel([
done => this._setupConsumers(done),
done => {
this._gcProducer = new GarbageCollectorProducer();
this._gcProducer.setupProducer(done);
},
], done);
}

Expand Down Expand Up @@ -228,7 +223,6 @@ class LifecycleObjectProcessor extends EventEmitter {
this.clientManager.getBackbeatClient.bind(this.clientManager),
getBackbeatMetadataProxy:
this.clientManager.getBackbeatMetadataProxy.bind(this.clientManager),
gcProducer: this._gcProducer,
logger: this._log,
};
}
Expand Down

0 comments on commit fed5b88

Please sign in to comment.