Skip to content

NFData PersistValue#1440

Merged
parsonsmatt merged 3 commits intoyesodweb:masterfrom
MercuryTechnologies:avieth/strictness
Dec 3, 2022
Merged

NFData PersistValue#1440
parsonsmatt merged 3 commits intoyesodweb:masterfrom
MercuryTechnologies:avieth/strictness

Conversation

@avieth
Copy link
Contributor

@avieth avieth commented Nov 17, 2022

Fully evaluating a PersistValue is important for gathering correct metrics. E.g. to get an accurate estimation of how long the SQL itself takes to run, it's essential to force the [PersistValue] which is used to construct the statement before starting the timer.

Copy link
Collaborator

@parsonsmatt parsonsmatt left a comment

Choose a reason for hiding this comment

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

Please add the changelog and version bump and I'll have it released soon

thanks!

@avieth
Copy link
Contributor Author

avieth commented Nov 18, 2022

Please add the changelog and version bump and I'll have it released soon

Awesome! Changelog updated and @since added.

@parsonsmatt parsonsmatt merged commit 114fd36 into yesodweb:master Dec 3, 2022
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.

3 participants