Files
mgmt/examples/file4.yaml
James Shubin 4f34f7083b resources: rate limiting: Implement resource rate limiting
This adds rate limiting with the limit and burst meta parameters. The
limits apply to how often the Process check is called. As a result, it
might get called more often than there are Watch events due to possible
Poke/BackPoke events.

This system might need to get rethought in the future depending on its
usefulness.
2017-01-25 09:13:59 -05:00

14 lines
178 B
YAML

---
graph: mygraph
resources:
file:
- name: file1
path: "/tmp/mgmt/f1"
meta:
limit: 0.5
burst: 3
content: |
i am f1
state: exists
edges: []