Caching between thin server and db?
-
macournoyer
Well you can check that all thins have been restarted at the same time if the pids are close to one another.
Also make sure you check the log file for any error preventing one of the thin to restart.
-
Alex Farrill
The problem is I should not have to restart the thin servers when I make a
change to the database. Is there caching going on at a low level?Thanks,
Alex
-
macournoyer
- State changed from new to invalid
oh no! Thin doesn't do any kind of caching.
But, ActiveRecord caches some queries so that might cause your issue.
You can reset the cache w/:
ActiveRecord::Base.connection.clear_query_cacheMaybe place that in a hidden action if you need to do that kind of thing.
-
Alex Farrill
Phew, sanity check. Yes, the problem had nothing to do with Thin, or ActiveRecord it turns out -- was grasping at straws! Thanks for your help, enjoying using Thin quite a bit
Thanks again,
Alex
-
John
Oamenii încearcă să se asigure că.cazinoul poate fi o organizație profitabilă pe viață. Oamenilor din întreaga lume le place să joace la cazinourile online.Am jucat la cazinou GG Bet furnizorul de cazinou online cazinou GG Bet pentru o lungă perioadă de timp și nu pot spune nimic rău despre el, a spus el, Conform statisticilor, acest cazinou online are cel https://gg-bet-ro.com/ mai mare RTP
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.