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

chore: add notice to readme #113

Merged
merged 2 commits into from
Jan 10, 2020
Merged

chore: add notice to readme #113

merged 2 commits into from
Jan 10, 2020

Conversation

superbogy
Copy link
Contributor

No description provided.

@superbogy
Copy link
Contributor Author

#112

README.md Outdated

- since version 1.0.0 the default vaule of `stale` was set to `ok` in viewQuery.

If the update condition field isn't `id` you must put `stale` in `options` parameter to make sure you get the correct data, like:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
If the update condition field isn't `id` you must put `stale` in `options` parameter to make sure you get the correct data, like:
If the update condition field isn't `id` you might need to set `stale` in `options` parameter to make sure you get the latest data if you have a strong need of data instant consistency, like:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think stale must be set to 1 in a write operation. Otherwise, the dirty read and dirty write would happen.

Copy link
Member

Choose a reason for hiding this comment

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

k, I got you, you are talking about write, LGTM.

README.md Outdated Show resolved Hide resolved
chore: rename History.md to History-obsoleted.md
@superbogy superbogy merged commit 1550de4 into master Jan 10, 2020
@delete-merged-branch delete-merged-branch bot deleted the feat-notice branch January 10, 2020 03:36
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.

None yet

2 participants