Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
// -1 for unlimited, 0 for disabling
private getAutoReconnectMaxRetries(): number | undefined {
- return (
- this.stationInfo.autoReconnectMaxRetries ?? Configuration.getAutoReconnectMaxRetries() ?? -1
- );
+ return this.stationInfo.autoReconnectMaxRetries ?? -1;
}
// 0 for disabling
return Configuration.configurationSectionCache.get(sectionName) as T;
}
- public static getAutoReconnectMaxRetries(): number | undefined {
- return Configuration.getConfigurationData()?.autoReconnectMaxRetries;
- }
-
public static getStationTemplateUrls(): StationTemplateUrl[] | undefined {
Configuration.checkDeprecatedConfigurationKeys();
return Configuration.getConfigurationData()?.stationTemplateUrls;