Skip to content

Commit

Permalink
refactor: Remove direct call to 'retry_failed_deliveries' from lifesp…
Browse files Browse the repository at this point in the history
…an function
  • Loading branch information
venkatamutyala committed Nov 16, 2024
1 parent 00d9503 commit 2092093
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ async def lifespan(app: FastAPI):
NUM_OF_DAYS_TO_REPROCESS_WEBHOOKS
)
logger.info("Scheduled 'retry_failed_deliveries' job to run daily at midnight.")
hooks.retry_failed_deliveries(
GITHUB_APP_ID,
GITHUB_APP_PRIVATE_KEY,
NUM_OF_DAYS_TO_REPROCESS_WEBHOOKS)
# Start background task for running scheduled tasks
background_tasks = BackgroundTasks()
background_tasks.add_task(run_scheduled_tasks)
Expand Down

0 comments on commit 2092093

Please sign in to comment.