File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type {
1010} from '../interfaces/load-balancer'
1111import type { Logger } from '../interfaces/logger'
1212import { 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 {
You can’t perform that action at this time.
0 commit comments