On Mon, Mar 9, 2009 at 8:31 PM, Dave Fowler <davefow...@gmail.com> wrote:
> > I'm running Django with memcached on EC2. We frequently turn on or > off different servers with memcached running on each. > > To configure your memcached the docs suggest you list them in your > settings file: > > CACHE_BACKEND = 'memcached://172.19.26.240:11211;172.19.26.242:11211/' > > The only problem with this is that every time I add or remove a server > I have to edit and restart all of my django instances. > > Is there another way to control the memcached settings? > > Do I even need to restart the apache instances if my memcached > settings change? > > Thanks! > > > If you're deployed under mod_wsgi I believe touching the WSGI file will cause it to reload the files. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---