Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dni
Copy link
Member

@dni dni commented Feb 21, 2024

let the app have the responsibility to create the tasks not a helper function inside tasks.py. makes it way easier to follow on how those background tasks are ran.

@codecov
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 58.52%. Comparing base (e3b9bd6) to head (24d1046).

Files Patch % Lines
lnbits/core/tasks.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2290      +/-   ##
==========================================
- Coverage   58.55%   58.52%   -0.03%     
==========================================
  Files          61       61              
  Lines        9185     9179       -6     
==========================================
- Hits         5378     5372       -6     
  Misses       3807     3807              

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

@dni dni added this to the 0.12.3 milestone Feb 21, 2024
@dni dni requested review from arcbtc and motorina0 March 12, 2024 07:37
dni added 4 commits March 12, 2024 08:47
let the app have the responsibility to create the tasks not a helper function inside tasks.py.
makes it way easier to follow on how those background tasks are ran.
@dni dni force-pushed the refactor-running-tasks branch from 6be2e0c to 24d1046 Compare March 12, 2024 07:48
@dni dni requested a review from talvasconcelos March 12, 2024 07:48
@dni dni requested a review from prusnak March 21, 2024 12:36
Copy link
Collaborator

@motorina0 motorina0 left a comment

Choose a reason for hiding this comment

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

LGTM

@dni dni merged commit 1398857 into dev Mar 22, 2024
@dni dni deleted the refactor-running-tasks branch March 22, 2024 11:29
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.

5 participants