mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 12:23:51 +00:00
add retry count
This commit is contained in:
@@ -280,8 +280,11 @@ export const parseHttp = (data: { http?: Partial<HttpSettings> }): HttpSettings
|
||||
? loadedConfig.subscriptions
|
||||
: dbModel.http.subscriptions;
|
||||
|
||||
const retryCount = Math.max(0, loadedConfig.retryCount ?? dbModel.http.retryCount);
|
||||
|
||||
return {
|
||||
enabledOut: loadedConfig.enabledOut ?? dbModel.http.enabledOut,
|
||||
retryCount: retryCount,
|
||||
subscriptions: validatedSubscriptions,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user