huwenming-saw opened a new issue #2269:
URL: https://github.com/apache/incubator-shenyu/issues/2269


   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   `degradeRuleStatIntervals` 参数 
对用的实际`org.apache.shenyu.common.dto.convert.rule.SentinelHandle#degradeRuleStatIntervals`参数字段,但是所给的数据库字典却是`getDegradeRuleStatIntervals
 
`,因而在界面设置后并不生效`org.apache.shenyu.plugin.sentinel.handler.SentinelRuleHandle#handlerRule方法中rule.setStatIntervalMs(sentinelHandle.getDegradeRuleStatIntervals()
 * 1000);`
   
   ```sql
   /*insert plugin_handle data for sentinel*/
   INSERT IGNORE INTO plugin_handle 
(`id`,`plugin_id`,`field`,`label`,`data_type`,`type`,`sort`,`ext_obj`,`date_created`,`date_updated`)
 VALUES ('84','10' 
,'getDegradeRuleStatIntervals','getDegradeRuleStatIntervals','1', 2, 3, 
'{"required":"1","defaultValue":"1","rule":""}', '2020-11-09 01:19:10', 
'2020-11-09 01:19:10');
   ```
   
   ### Expected Behavior
   
   sql中将`getDegradeRuleStatIntervals`调整为`degradeRuleStatIntervals`,使之初始化即正确
   
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   ShenYu version(s): master branch
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to