Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

call closure when redis crashed #139

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

deathkel
Copy link

No description provided.

@Omranic Omranic changed the base branch from master to develop February 20, 2017 21:38
@Omranic
Copy link
Member

Omranic commented Feb 20, 2017

@deathkel I feel like this should be handled somewhere else, I don't believe it's the repository implementation responsibility to handle such exceptions. If you believe otherwise, would you please explain why this should be handled here?

@deathkel
Copy link
Author

I use repository in my project.but in product environment, redis behave not 100% stable. I think my project should not down just because cache system crashed. I think it's the best place to hanlde the cache system error,since reoposity is dealing with Cache and Model. And It should hanlde this error automatically

@deathkel
Copy link
Author

and we should log this error when it occurred

Omranic and others added 3 commits September 23, 2019 21:43
* release/v5.0.1:
  Bump version
  Add missing laravel/helpers composer package
Update from upstream repo rinvex/repository
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants