← Back to team overview

graphite-dev team mailing list archive

Re: [Question #271258]: Disable requests to carbon-cache on front

 

Question #271258 on Graphite changed:
https://answers.launchpad.net/graphite/+question/271258

    Status: Open => Answered

Jason Dixon proposed the following answer:
No, it should correctly set hosts to [] on https://github.com/graphite-
project/graphite-web/blob/0.9.x/webapp/graphite/render/datalib.py#L106
based on the logic in https://github.com/graphite-project/graphite-
web/blob/0.9.x/webapp/graphite/render/datalib.py#L239-L249. This would
mean that hash_ring.get_node in https://github.com/graphite-project
/graphite-web/blob/0.9.x/webapp/graphite/render/datalib.py#L113-L114
never actually gets called since hosts is empty.

Are you sure you restarted the webapp after setting CARBONLINK_HOSTS =
[]?

Jason

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.