Skip to content

Schedule recurrent CWL Viewer maintained cron-job for purging of old queued workflows from database#326

Merged
tetron merged 10 commits intocommon-workflow-language:mainfrom
obasekiosa:purge-old-queuedworkflows
Jul 23, 2021
Merged

Schedule recurrent CWL Viewer maintained cron-job for purging of old queued workflows from database#326
tetron merged 10 commits intocommon-workflow-language:mainfrom
obasekiosa:purge-old-queuedworkflows

Conversation

@obasekiosa
Copy link
Copy Markdown
Contributor

@obasekiosa obasekiosa commented Apr 14, 2021

Description

This PR sets up a cron job within the application to delete old queued workflows
from the database based on properties set in the applications.properties file

Motivation and Context

Previous to this PR the queue entry will remain in queuedWorkflow forever, preventing a refresh if the previous run was broken.
A fixes #212 - Purge old entries in queuedWorkflow (Issue #212)

This allows the CWL Viewer itself to maintain the deletion of these old database entries.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@obasekiosa obasekiosa marked this pull request as ready for review April 19, 2021 16:03
@mr-c mr-c requested a review from tetron July 23, 2021 09:28
@tetron tetron merged commit b98a2f9 into common-workflow-language:main Jul 23, 2021
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.

Purge old entries in queuedWorkflow

3 participants