Skip to content

Commit

Permalink
chore: cleanup of code
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed Dec 3, 2024
1 parent ab77546 commit 328b9ce
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/jobs/services/database/database.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ import { Pagination } from '../../models/pagination.dto';
@Injectable()
export class DatabaseService {
private JOBS_INDEX = '';
private JOBS_SCROLL_TIMEOUT = '5s';

constructor(
private configService: ConfigService,
private elasticSearch: ElasticsearchService,
private logger: Logger,
) {
this.JOBS_INDEX = this.configService.get('database.jobsIdx');
this.JOBS_SCROLL_TIMEOUT = this.configService.get(
'database.jobsScrollTimout',
);

this.logger.debug(
`Starting up databse service for jobs at index ${this.JOBS_INDEX} and scroll timeout of ${this.JOBS_SCROLL_TIMEOUT}`,
`Starting up databse service for jobs at index ${this.JOBS_INDEX}`,
);
}

Expand Down

0 comments on commit 328b9ce

Please sign in to comment.