0

I am looking for a way to stop Django at start up if my memcached isn't working. Is there a way or best practice ?

I'm using memcached with DRF, specifically with throttling and the throttling mandatory.

Thx for reading.

Flave

Flave
  • 1
  • Have you seen this post? https://stackoverflow.com/questions/29707274/how-do-you-confirm-django-is-using-memcached/29709199 Also, what do you mean "at start up"? Do you want to check it from your project code? – Igor Belkov Dec 13 '19 at 12:26
  • I want to check in dev, staging and prod environment if memcached is properly installed and configured. Thx @IgorBelkov for your answer. – Flave Dec 16 '19 at 15:51

0 Answers0