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

fixes #19087 - create host built notification from Host#built #4424

Merged

Conversation

domcleal
Copy link
Contributor

Comparing the host's installed_at timestamp is unreliable on MySQL
databases, as the timestamp field has a limited granularity. Under Rails
5 in a sub-second test, this field will not be changed.

Instead, extend Host#built to create notifications as the original
method is also used to send e-mail notifications and update the
installed_at field.

Comparing the host's installed_at timestamp is unreliable on MySQL
databases, as the timestamp field has a limited granularity. Under Rails
5 in a sub-second test, this field will not be changed.

Instead, extend Host#built to create notifications as the original
method is also used to send e-mail notifications and update the
installed_at field.
@mention-bot
Copy link

@domcleal, thanks for your PR! By analyzing the history of the files in this pull request, we identified @iNecas, @ohadlevy and @GregSutcliffe to be potential reviewers.

@ohadlevy
Copy link
Member

thanks @domcleal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants