Skip to content

Commit

Permalink
change rate_limit env var to RATE_LIMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Iryna Shustava committed Mar 22, 2016
1 parent b4a5d69 commit 6bd7dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -29,7 +29,7 @@ var (
func main() {
log.SetOutput(os.Stdout)

limit = getEnv("rate_limit", DEFAULT_LIMIT)
limit = getEnv("RATE_LIMIT", DEFAULT_LIMIT)
log.Printf("limit per sec [%d]\n", limit)

rateLimiter = NewRateLimiter(limit)
Expand Down

0 comments on commit 6bd7dec

Please sign in to comment.