diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-27 13:53:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-27 13:53:54 +0100 |
commit | 8d1f78044ca6eb9995001d3ab83be62460e043a6 (patch) | |
tree | 5b0cf63de96fdc67ef7aaa10af4969d9578406f0 /server/tests/shared/mock-servers/mock-email.ts | |
parent | 5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 (diff) | |
download | PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.tar.gz PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.tar.zst PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.zip |
Add ability to disable http duration OTEL metrics
Diffstat (limited to 'server/tests/shared/mock-servers/mock-email.ts')
-rw-r--r-- | server/tests/shared/mock-servers/mock-email.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/shared/mock-servers/mock-email.ts b/server/tests/shared/mock-servers/mock-email.ts index 79bc22d58..5f37f6ae0 100644 --- a/server/tests/shared/mock-servers/mock-email.ts +++ b/server/tests/shared/mock-servers/mock-email.ts | |||
@@ -43,7 +43,7 @@ class MockSmtpServer { | |||
43 | kill () { | 43 | kill () { |
44 | if (!this.maildev) return | 44 | if (!this.maildev) return |
45 | 45 | ||
46 | this.maildev.shutdown() | 46 | this.maildev.close() |
47 | 47 | ||
48 | this.maildev = null | 48 | this.maildev = null |
49 | MockSmtpServer.instance = null | 49 | MockSmtpServer.instance = null |