Skip to content

Commit

Permalink
fix: debugging..
Browse files Browse the repository at this point in the history
  • Loading branch information
jcy0308 committed Aug 29, 2024
1 parent 6137c28 commit 67f5726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/kafka/kafka.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export class KafkaService implements OnModuleInit, OnModuleDestroy {
}

async onModuleInit() {
await this.consumer.connect();
console.log('connected');
await this.consumer.subscribe({ topic: this.topic, fromBeginning: false });
console.log('subsribed');
// await this.consumer.connect();
// console.log('connected');
// await this.consumer.subscribe({ topic: this.topic, fromBeginning: false });
// console.log('subsribed');
// await this.consumer
// .run({
// autoCommit: false,
Expand Down
2 changes: 1 addition & 1 deletion src/puppeteer/puppeteer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export class PuppeteerService implements OnModuleInit, OnModuleDestroy {

async onModuleInit() {
this.browser = await puppeteer.launch({
headless: true,
executablePath: '/usr/bin/chromium-browser',
protocolTimeout: 999_999,
args: [
'--no-sandbox',
'--disable-dev-shm-usage',
Expand Down

0 comments on commit 67f5726

Please sign in to comment.