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

Refactor schedule promises #161

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Refactor schedule promises #161

merged 1 commit into from
Dec 20, 2023

Conversation

dfarr
Copy link
Member

@dfarr dfarr commented Dec 19, 2023

Remove crontime and use schedule.NextRunTime directly, perhaps lower cognitive overhead with one less variable.

@dfarr dfarr requested a review from guergabo December 19, 2023 23:59
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (657098b) 67.29% compared to head (cdef1db) 67.31%.

Files Patch % Lines
internal/app/coroutines/schedulePromises.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   67.29%   67.31%   +0.01%     
==========================================
  Files          76       76              
  Lines        7308     7306       -2     
==========================================
  Hits         4918     4918              
+ Misses       2071     2069       -2     
  Partials      319      319              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@guergabo guergabo left a comment

Choose a reason for hiding this comment

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

lgtm

@dfarr dfarr merged commit f141c0b into main Dec 20, 2023
5 of 6 checks passed
@dfarr dfarr deleted the refactor/schedule-promises branch December 20, 2023 23:59
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.

2 participants