Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(offlineQueue): add option to limit the offline queue size #241

Closed
wants to merge 1 commit into from

Conversation

luin
Copy link
Collaborator

@luin luin commented Jan 31, 2016

When the size of offline queue reaches the maxOfflineQueueSize, the overflow commands will be
flushed with an error.

Closes #76

When the size of offline queue reaches the , the overflow commands will be
flushed with an error.

Closes #76
@luin luin mentioned this pull request Jan 31, 2016
@dirkbonhomme
Copy link

Looks ok to me. Simple option and easy to understand.

@BridgeAR
Copy link
Collaborator

BridgeAR commented Feb 5, 2016

I still recommend using bytes to determine if the queue is full or not. The memory is not exact but it's not difficult to have a approximation that is about right.

@stale
Copy link

stale bot commented Oct 23, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.

@stale stale bot added the wontfix label Oct 23, 2017
@stale stale bot closed this Oct 30, 2017
@edevil
Copy link

edevil commented Nov 2, 2018

This PR, along with #658, seem very important to me in order to prevent an unresponsive Redis server from bringing down an application. Is there a reason for them not having been merged?

@edevil
Copy link

edevil commented Jul 23, 2019

ping

@luin luin deleted the max-offline-queue branch March 14, 2022 03:26
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.

Offline queue size limit
4 participants