From 5f74c6fde20baf3207e9354206924537ed990cd2 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 14 Jan 2024 09:34:45 +0000 Subject: [PATCH 1/2] docs(readme): replace `fastify.io` links with `fastify.dev` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index db7b79a..f5bb5f0 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ mongodb.MongoClient.connect('mongodb://mongo/db') Notes: * the passed `client` connection will **not** be closed when the Fastify server shuts down. -* in order to terminate the MongoDB connection you have to manually call the [fastify.close](https://www.fastify.io/docs/latest/Server/#close) method (for example for testing purposes, otherwise the test will hang). +* in order to terminate the MongoDB connection you have to manually call the [fastify.close](https://www.fastify.dev/docs/latest/Server/#close) method (for example for testing purposes, otherwise the test will hang). * `mongodb` connection timeout is reduce from 30s (default) to 7.5s in order throw error before `fastify` plugin timeout. ## Reference From 4cd43448c20311e01453c4f17d1acdfe680e58c8 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 14 Jan 2024 09:46:35 +0000 Subject: [PATCH 2/2] docs(readme): remove `www.` from `fastify.dev` urls --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f5bb5f0..220cef8 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ mongodb.MongoClient.connect('mongodb://mongo/db') Notes: * the passed `client` connection will **not** be closed when the Fastify server shuts down. -* in order to terminate the MongoDB connection you have to manually call the [fastify.close](https://www.fastify.dev/docs/latest/Server/#close) method (for example for testing purposes, otherwise the test will hang). +* in order to terminate the MongoDB connection you have to manually call the [fastify.close](https://fastify.dev/docs/latest/Server/#close) method (for example for testing purposes, otherwise the test will hang). * `mongodb` connection timeout is reduce from 30s (default) to 7.5s in order throw error before `fastify` plugin timeout. ## Reference