X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Ftypescript%2Fsmtp-client-pool%2Fsrc%2Fmain.ts;h=4d1f2ea896188b7cfa49aa559dfaaab5f5a28f7c;hb=e06ce0ec82c8c076d6136f85f12101181d922612;hp=e00372dc6f931ab5a4dea915728a9dd0c14754f6;hpb=3a5027122ca6401ae1d755843b20f714c61e3240;p=poolifier.git diff --git a/examples/typescript/smtp-client-pool/src/main.ts b/examples/typescript/smtp-client-pool/src/main.ts index e00372dc..4d1f2ea8 100644 --- a/examples/typescript/smtp-client-pool/src/main.ts +++ b/examples/typescript/smtp-client-pool/src/main.ts @@ -32,9 +32,9 @@ try { await Promise.all(smtpClientPoolPromises) const elapsedTime = performance.now() - now console.info( - `Send in parallel in ${elapsedTime.toFixed(2)}ms ${ - tos.length - } mails with SMTP client pool` + `Send in parallel in ${elapsedTime.toFixed( + 2 + )}ms ${tos.length.toString()} mails with SMTP client pool` ) } catch (error) { console.error(error)