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

Annoying delay between database put and read. #7

Open
runar-rkmedia opened this issue Mar 4, 2017 · 1 comment
Open

Annoying delay between database put and read. #7

runar-rkmedia opened this issue Mar 4, 2017 · 1 comment

Comments

@runar-rkmedia
Copy link
Owner

runar-rkmedia commented Mar 4, 2017

Don't know how to solve this in a good way. Probably some javascript would be better here.

Problem: When voting, we want to refresh the votes displayed on the page, but currently, if we refresh the page right after putting the vote, the value have not been updated. This is apparently caused by a delay between saving data and it actually being available for read.

@runar-rkmedia
Copy link
Owner Author

Currently solved by just having a redirection-page when voting, but this is not pretty.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant