Disable updating the historical vulnerability statistics by default
Historical vulnerability statistics supposed to be updated once a day by a cronjob because updating them always for each update/insert of a vulnerability can reduce the throughput of our worker classes and API endpoints. With this change, to be able to observe the side effects of disabling the update logic of historical vulnerability statistics, we are moving it behind a feature flag. We will remove the logic and the feature flag eventually. Changelog: other EE: true
显示
- doc/api/graphql/reference/index.md 3 个添加, 3 个删除doc/api/graphql/reference/index.md
- ee/app/graphql/ee/types/group_type.rb 1 个添加, 1 个删除ee/app/graphql/ee/types/group_type.rb
- ee/app/graphql/ee/types/project_type.rb 1 个添加, 1 个删除ee/app/graphql/ee/types/project_type.rb
- ee/app/graphql/ee/types/query_type.rb 1 个添加, 1 个删除ee/app/graphql/ee/types/query_type.rb
- ee/app/services/vulnerabilities/historical_statistics/update_service.rb 9 个添加, 1 个删除...s/vulnerabilities/historical_statistics/update_service.rb
- ee/config/feature_flags/development/keep_historical_vulnerability_statistics_always_consistent.yml 8 个添加, 0 个删除...historical_vulnerability_statistics_always_consistent.yml
- ee/spec/services/vulnerabilities/historical_statistics/update_service_spec.rb 52 个添加, 17 个删除...nerabilities/historical_statistics/update_service_spec.rb
加载中
想要评论请 注册 或 登录