mm_mongodb 1.4.9 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ MongoDB数据库操作模块,提供了简洁易用的API、缓存功能以及*
4
4
 
5
5
  ## 项目信息
6
6
 
7
- - **当前版本**: 1.4.9
7
+ - **当前版本**: 1.5.0
8
8
  - **更新日期**: 2024-12-23
9
9
  - **Gitee地址**: [https://gitee.com/qiuwenwu91/mm_mongodb](https://gitee.com/qiuwenwu91/mm_mongodb)
10
10
  - **Node.js 版本要求**: >= 14.0.0(推荐 16.0.0 及以上)
package/index.js CHANGED
@@ -34,8 +34,8 @@ class MongoDB extends BaseService {
34
34
  password: "",
35
35
  // 连接选项
36
36
  options: {
37
- minPoolSize: 5,
38
- maxPoolSize: 20,
37
+ minPoolSize: 10,
38
+ maxPoolSize: 100,
39
39
  connectTimeoutMS: 10000,
40
40
  serverSelectionTimeoutMS: 5000,
41
41
  retryWrites: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_mongodb",
3
- "version": "1.4.9",
3
+ "version": "1.5.0",
4
4
  "description": "MongoDB数据库操作模块,提供简洁易用的API、缓存功能以及完整的Redis兼容接口,支持事件系统、事务和连接池管理",
5
5
  "main": "index.js",
6
6
  "scripts": {