Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

yagudin10
Copy link
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
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
5 checks passed
@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