Skip to content

Commit de40ecf

Browse files
committed
linting
1 parent 36f04af commit de40ecf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/load-balancer/http-load-balancer.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
} from '../interfaces/load-balancer'
1111
import type { Logger } from '../interfaces/logger'
1212
import { defaultLogger } from '../logger/pino-logger'
13-
import * as crypto from 'crypto';
13+
import * as crypto from 'crypto'
1414

1515
/**
1616
* Internal target with additional tracking data
@@ -422,9 +422,9 @@ export class HttpLoadBalancer implements LoadBalancer {
422422
}
423423

424424
private generateSessionId(): string {
425-
const randomPart = crypto.randomBytes(16).toString('hex'); // 16 bytes = 32 hex characters
426-
const timestampPart = Date.now().toString(36);
427-
return randomPart + timestampPart;
425+
const randomPart = crypto.randomBytes(16).toString('hex') // 16 bytes = 32 hex characters
426+
const timestampPart = Date.now().toString(36)
427+
return randomPart + timestampPart
428428
}
429429

430430
private getClientId(request: Request): string {

0 commit comments

Comments
 (0)