Skip to content

Commit

Permalink
fix: WEB-2246 code formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
sairam459 committed Jun 3, 2024
1 parent b7bc5ba commit 3e10c65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export class ConfigService {
readPreference: this.get('REPLICASET') !== undefined ? readPreference : null,
user: this.get('MONGOOSE_USERNAME'),
pass: this.get('MONGOOSE_PASSWORD'),
maxPoolSize: this.get('MONGOOSE_POOL_SIZE') ? parseInt(this.get('MONGOOSE_POOL_SIZE'), 10) : 20,
maxPoolSize: this.get('MONGOOSE_POOL_SIZE')
? parseInt(this.get('MONGOOSE_POOL_SIZE'), 10)
: 20,
retryAttempts: 2,
connectTimeoutMS: 60000,
socketTimeoutMS: 60000,
Expand Down

0 comments on commit 3e10c65

Please sign in to comment.