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

NFData PersistValue #1440

Merged
merged 3 commits into from
Dec 3, 2022

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!

persistent/Database/Persist/PersistValue.hs Show resolved Hide resolved
@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.

None yet

3 participants