Skip to content

Conversation

@AndrielFR
Copy link
Member

  • Introduced a new Cache module to manage chat and user data.
  • Implemented methods to load, save, and retrieve cached data using bincode for serialization.
  • Integrated the cache into the Client, Context, and Dispatcher modules.
  • Added auto-save functionality for the cache at regular intervals and during application shutdown.
  • Updated Cargo.toml to include bincode as a dependency for encoding/decoding cache data.
  • Enhanced Dispatcher to save chats and users to the cache when processing updates.

- Introduced a new `Cache` module to manage chat and user data.
- Implemented methods to load, save, and retrieve cached data using `bincode` for serialization.
- Integrated the cache into the `Client`, `Context`, and `Dispatcher` modules.
- Added auto-save functionality for the cache at regular intervals and during application shutdown.
- Updated `Cargo.toml` to include `bincode` as a dependency for encoding/decoding cache data.
- Enhanced `Dispatcher` to save chats and users to the cache when processing updates.
Copy link

@Kartatz Kartatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AndrielFR AndrielFR merged commit 7f15a93 into master May 14, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants