Skip to content

CB-4309 add keep alive interval for data source#2269

Merged
alexander-skoblikov merged 6 commits intodevelfrom
CB-4309-add-keep-alive-checkbox-for-connection
Jan 12, 2024
Merged

CB-4309 add keep alive interval for data source#2269
alexander-skoblikov merged 6 commits intodevelfrom
CB-4309-add-keep-alive-checkbox-for-connection

Conversation

@yagudin10
Copy link
Copy Markdown
Member

No description provided.

@sergeyteleshev sergeyteleshev marked this pull request as ready for review January 11, 2024 09:57
Comment on lines +38 to +43
const keepAliveRef = useCustomInputValidation<string>(value => {
if (Number(value) > MAX_KEEP_ALIVE_INTERVAL_IN_SECONDS) {
return translate('connections_connection_keep_alive_max_value_error', undefined, { keepAliveInterval: MAX_KEEP_ALIVE_INTERVAL_IN_SECONDS });
}
return null;
});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need custom validation here? we set max value for input it should add browser default validation for this field

@sergeyteleshev sergeyteleshev requested a review from Wroud January 11, 2024 12:28
@alexander-skoblikov alexander-skoblikov merged commit f463ea5 into devel Jan 12, 2024
@serge-rider serge-rider deleted the CB-4309-add-keep-alive-checkbox-for-connection branch February 21, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants