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

How to force a reload of the data from the database? #31

Open
vlad88sv opened this issue Sep 18, 2015 · 2 comments
Open

How to force a reload of the data from the database? #31

vlad88sv opened this issue Sep 18, 2015 · 2 comments

Comments

@vlad88sv
Copy link

Hi, I would like to know how we can reload data directly from the database?

We have a "revert" function that the user clicks and then we replace all the data on the database with data we previously backed up into another table (midnight CRON that mirrors "store" table).

Problem is that once we replace the data, no matter how much we refresh the web browser the data is still retrieved from memory until we restart node.js.

Thank you!.

@cooperq
Copy link
Member

cooperq commented Sep 22, 2015

Interesing question! I'm not sure off of the top of my head what the solution to this will be, but I suspect it might reside in the database abstraction layer which uses the ueberDB package. UeberDB might be caching results, I think we should look first at that layer.

@radicaldesigns
Copy link

Any chance I can be removed from this thread? I am not really involved in this project at all, and my inbox is crazy enough as it is. Thanks!

Best,
Kristin

Kristin snelling
[executive director + creative director + information scientist]
www.radicaldesigns.org
radicalDESIGNS cooperative
p: 415.738.0456
f: 415.424.4556

On Sep 21, 2015, at 5:45 PM, Cooper Quintin [email protected] wrote:

Interesing question! I'm not sure off of the top of my head what the solution to this will be, but I suspect it might reside in the database abstraction layer which uses the ueberDB package. UeberDB might be caching results, I think we should look first at that layer.


Reply to this email directly or view it on GitHub #31 (comment).

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

No branches or pull requests

3 participants