Skip to content

Instantly share code, notes, and snippets.

@rasputnik
Created November 6, 2013 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasputnik/7334377 to your computer and use it in GitHub Desktop.
Save rasputnik/7334377 to your computer and use it in GitHub Desktop.
think this setup is wonky
(let [host "0.0.0.0"]
(tcp-server :host host)
(udp-server :host host)
(ws-server :host host))
; keep data for 5 minutes, just throw into index
(let [index (default :ttl 300 (update-index (index)))
graph (graphite {:host "graphite.cf.ac.uk"
:protocol :udp
:pool-size 10})]
(streams
index)
(streams
graph))
@rasputnik
Copy link
Author

nope, this works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment