trento-project / trento

An open cloud-native web console improving on the work day of SAP Applications administrators.
https://www.trento-project.io
Apache License 2.0
33 stars 26 forks source link

Split discovery intervals #881

Closed rtorrero closed 2 years ago

rtorrero commented 2 years ago

This PR superseedes #876 and in addition to just splitting the subscription discovery, it splits all the discoveries into separately configurable variables:

ClusterDiscoveryPeriod      time.Duration
SAPSystemDiscoveryPeriod    time.Duration
CloudDiscoveryPeriod        time.Duration
HostDiscoveryPeriod         time.Duration
SubscriptionDiscoveryPeriod time.Duration

Some notes:

abravosuse commented 2 years ago

@rtorrero sorry for the late reply:

rtorrero commented 2 years ago

The changes that we discussed should be there. Regarding the default and minimal values: I've set all defaults to 10 seconds, except the discovery which is set at 900s. The minimal values are 1 for all except for the discovery where we have a min allowed value of 500s.

@abravosuse if you want to change these let me know

abravosuse commented 2 years ago

The changes that we discussed should be there. Regarding the default and minimal values: I've set all defaults to 10 seconds, except the discovery which is set at 900s. The minimal values are 1 for all except for the discovery where we have a min allowed value of 500s.

@abravosuse if you want to change these let me know

I'm fine with these values @rtorrero.