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

Add deleteAsync and clearBlocking method for improving performance #16483

Conversation

itosho
Copy link
Contributor

@itosho itosho commented May 2, 2022

About this issue: #16360
Continuation from: #16478

@itosho
Copy link
Contributor Author

itosho commented May 2, 2022

@markstory @ADmad Please review 🙏

@dereuromark
Copy link
Member

Should target 4.next

@dereuromark dereuromark added this to the 4.4.0 milestone May 2, 2022
@@ -256,6 +271,37 @@ public function clear(): bool
return $isAllDeleted;
}

/**
* Blocking delete all keys from the cache
Copy link
Member

Choose a reason for hiding this comment

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

Sounds weird, there might be a word Clear or alike missing at the beginning.

@ADmad ADmad changed the base branch from 4.x to 4.next May 2, 2022 14:32
@ADmad ADmad changed the base branch from 4.next to 4.x May 2, 2022 14:33
@ADmad
Copy link
Member

ADmad commented May 2, 2022

Changing the target to 4.next pulls in unrelated commits, so you need to rebase your changes on top of 4.next HEAD.

@itosho itosho changed the base branch from 4.x to 4.next May 2, 2022 16:35
@itosho itosho marked this pull request as draft May 2, 2022 16:54
@itosho
Copy link
Contributor Author

itosho commented May 2, 2022

I made a mistake and the history became complicated, so I will create a new branch and cherry-pick it.

@itosho itosho closed this May 2, 2022
@itosho itosho deleted the add-delete-async-and-clear-blocking-in-redis branch May 2, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants