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

Skip to content

Conversation

@dni
Copy link
Member

@dni dni commented Jul 7, 2025

No description provided.

await asyncio.sleep(sleep_time)
async def wrapper() -> None:
while settings.lnbits_running:
await func()
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be in a try-catch so the loop does not stop in case of exception

Copy link
Member Author

Choose a reason for hiding this comment

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

this is already done by create_permanent_task

@codecov
Copy link

codecov bot commented Jul 7, 2025

Codecov Report

Attention: Patch coverage is 44.11765% with 19 lines in your changes missing coverage. Please review.

Project coverage is 60.27%. Comparing base (07c6228) to head (8978e8e).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
lnbits/core/services/payments.py 26.92% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #3245      +/-   ##
==========================================
+ Coverage   60.26%   60.27%   +0.01%     
==========================================
  Files         111      111              
  Lines       14583    14585       +2     
==========================================
+ Hits         8788     8791       +3     
+ Misses       5795     5794       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@motorina0 motorina0 merged commit c1788c7 into dev Jul 7, 2025
43 checks passed
@motorina0 motorina0 deleted the feat/run_interval branch July 7, 2025 11:52
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