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

Issue/102 #119

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

Issue/102 #119

wants to merge 4 commits into from

Conversation

JJJ
Copy link
Collaborator

@JJJ JJJ commented Oct 26, 2020

See #102

This change ensures that anyone calling tcp_cache_set() directly in their own custom code has a more reliable idea of whether this method call has failed.
This commit strictly divides the TCP cache methods to stop storing a local copy of the remote cache when a persistent cache exists elsewhere.

It also adds expirations to the local cache, in the event that the PHP request is allowed to process and hang for longer than the servers have collectively to be checked.
Even for master. No matter the tries remaining.

If TCP responsiveness is being checked and the connection to master goes down, it will exist in the cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant