From 0611104d4cda32ebfad879e89408d32dbe896abf Mon Sep 17 00:00:00 2001 From: Brian Li Date: Thu, 3 Aug 2023 14:03:38 -0500 Subject: [PATCH 1/2] remove shutdown msg --- src/bin/firebase-functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/firebase-functions.ts b/src/bin/firebase-functions.ts index a977b8849..d04d09fb8 100644 --- a/src/bin/firebase-functions.ts +++ b/src/bin/firebase-functions.ts @@ -54,7 +54,7 @@ const app = express(); function handleQuitquitquit(req: express.Request, res: express.Response) { res.send("ok"); - server.close(() => console.log("shutdown requested via /__/quitquitquit")); + server.close(); } app.get("/__/quitquitquit", handleQuitquitquit); From a9175d9b3fae5625ed07c559b291c2103fab3f5d Mon Sep 17 00:00:00 2001 From: Brian Li Date: Thu, 17 Aug 2023 15:50:36 -0400 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + src/v2/options.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f96d0b994..767a26aeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,3 @@ +- Remove HTTP server shutdown message. (#1457) - Add features to task queue functions. (#1423) - Add traces to V2 Firestore trigger logs. (#1440) diff --git a/src/v2/options.ts b/src/v2/options.ts index 6b0480510..fb4491141 100644 --- a/src/v2/options.ts +++ b/src/v2/options.ts @@ -260,7 +260,7 @@ export function getGlobalOptions(): GlobalOptions { * Additional fields that can be set on any event-handling function. */ export interface EventHandlerOptions extends Omit { - /** Type of the event. Valid values are TODO */ + /** Type of the event. Valid values are TODO */ eventType?: string; /** TODO */