From b425752c8f95fe55600fd16bc2cade4cb17e1060 Mon Sep 17 00:00:00 2001 From: Francis Dong Date: Mon, 18 Jan 2021 19:29:45 +0800 Subject: [PATCH] add default flow statistic and rate limit config --- src/main/resources/application.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index bd38346..0722d74 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -85,4 +85,11 @@ stat: open: true send-log: # switch for push log data - open: true \ No newline at end of file + open: true +sched: + executors: 2 +flowControl: true +flow-stat-sched: + cron: 2/10 * * * * ? + dest: redis + queue: fizz_resource_access_stat \ No newline at end of file