[PR #16] [MERGED] Add memorystore session store #89

Closed
opened 2026-02-27 04:59:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/16
Author: @guyzyl
Created: 8/23/2022
Status: Merged
Merged: 8/23/2022
Merged by: @guyzyl

Base: mainHead: add-memorystore


📝 Commits (1)

  • 81413e0 Add memorystore session store

📊 Changes

3 files changed (+102 additions, -0 deletions)

View changed files

📝 server/main.ts (+5 -0)
📝 server/package-lock.json (+96 -0)
📝 server/package.json (+1 -0)

📄 Description

Added since the default express-session store isn't designed for production environments.
This addition will suppress the following message:

Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/guyzyl/whatsapp-contact-sync/pull/16 **Author:** [@guyzyl](https://github.com/guyzyl) **Created:** 8/23/2022 **Status:** ✅ Merged **Merged:** 8/23/2022 **Merged by:** [@guyzyl](https://github.com/guyzyl) **Base:** `main` ← **Head:** `add-memorystore` --- ### 📝 Commits (1) - [`81413e0`](https://github.com/guyzyl/whatsapp-contact-sync/commit/81413e0c66e092e6befd0c6293bd457da4150730) Add `memorystore` session store ### 📊 Changes **3 files changed** (+102 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/main.ts` (+5 -0) 📝 `server/package-lock.json` (+96 -0) 📝 `server/package.json` (+1 -0) </details> ### 📄 Description Added since the default `express-session` store isn't designed for production environments. This addition will suppress the following message: ``` Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 04:59:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#89
No description provided.