Skip to content

Commit

Permalink
Issue #26: document configuration file name extensions and loading ru…
Browse files Browse the repository at this point in the history
…les recursively
  • Loading branch information
Marko Dimjašević committed Oct 28, 2019
1 parent 9a33c7e commit 8e22670
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@ At least, this is according to our understanding of the logic in the Go
code. Ideally we should test this against `lyft/ratelimit` itself, which is
a pending task.

Keep in mind that Fencer can load configuration from any YAML files
and not just files with the `.yml` extension. For example, Fencer will
load configuration from a YAML file named `limit` so long as the file
is located in the runtime directory given with the
`RUNTIME_SUBDIRECTORY` environment variable. Furthermore, it will load
configuration from a runtime subdirectory recursively, thereby
traversing the whole subdirectory.

## Differences to Lyft's rate limit service

Expand Down

0 comments on commit 8e22670

Please sign in to comment.