Skip to content

Add redis-backed chat history with setup in config#97

Open
scollett wants to merge 2 commits intorickyrauch:masterfrom
scollett:history_with_redis
Open

Add redis-backed chat history with setup in config#97
scollett wants to merge 2 commits intorickyrauch:masterfrom
scollett:history_with_redis

Conversation

@scollett
Copy link
Copy Markdown
Contributor

I implemented a history with Redis. It uses Redis lists with the chatroom id as the key. It keeps unlimited history in Redis, but only pulls from Redis the last 5 chat lines unless a higher/lower 'viewlimit' is set in the config file. The history is not saved in Redis or displayed unless there is a history entry in the config file.

@qdsang
Copy link
Copy Markdown

qdsang commented Jan 7, 2014

Great!

@LoicMahieu
Copy link
Copy Markdown

+1 Cool feature!

Copy link
Copy Markdown

@alissonpelizaro alissonpelizaro left a comment

Choose a reason for hiding this comment

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

Approved

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.

5 participants