Skip to content

Commit

Permalink
check feed requested status before retrying
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Apr 11, 2024
1 parent ba9c37f commit 4e83fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Settings(BaseSettings):
pflink_mongodb: MongoDsn = 'mongodb://localhost:27017'
version: str = "4.0.4"
version: str = "4.0.5"
mongo_username: str = "admin"
mongo_password: str = "admin"
log_level: str = "DEBUG"
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/subprocesses/wf_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def create_analysis(self, key: str):
6) Create a new instance of the plugin or pipeline with the previous `dircopy` instance
"""
# if PACS files registering is in progress, do nothing and exit
if not self.__workflow.response.state_progress == "100%":
if not self.__workflow.response.state_progress == "100%" and self.__workflow.feed_requested:
return

logger.info(f"Creating new analysis.", extra=d)
Expand Down

0 comments on commit 4e83fd3

Please sign in to comment.