Skip to content

feat: support the rest of parameters in alter system + big refactor

Georgy Moshkin requested to merge gmoshkin/alter-system-cleanup into master

Summary

Теперь добавление ALTER SYSTEM параметров будет проще: нужно лишь добавить одно поле в структуру AlterSystemParameters.

  • fix: used to panic when setting negative timeout parameters

  • refactor: move system parameter validation to config.rs

  • feat: add some parameters to configure timeouts in governor loop

  • refactor: system parameters now fully live in AlterSystemParameters not in PropertyName

  • feat: support the rest of parameters in alter system + big refactor

Add new config::AlterSystemParameters struct which is responsible for definitions of system parameters, their default values and mapping to sbroad type.

This is a big step towards moving all system parameters from _pico_property into another system table.

  • feat: Introspection::get_sbroad_type_of_field and #[introspection(sbroad_type = ...)]

  • test: check _pico_property keys explicitly


Edited by Georgy Moshkin

Merge request reports