Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ smaht-submitr
Change Log
----------

1.14.1
======
`PR Decrease polling frequency by updating PROGRESS_INTERVAL to 1 second <https://github.com/smaht-dac/submitr/pull/>`_

* PROGRESS_INTERVAL from 0.1 to 1 second to decrease polling frequency for server-side validation/submission progress meter


1.14.0
======
`PR 37 Add validation for PathologyReport validators <https://github.com/smaht-dac/submitr/pull/37>`_
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "smaht-submitr"
version = "1.14.0"
version = "1.14.1"
description = "Support for uploading file submissions to SMAHT."
# TODO: Update this email address when a more specific one is available for SMaHT.
authors = ["SMaHT DAC <smhelp@hms-dbmi.atlassian.net >"]
Expand Down
1 change: 0 additions & 1 deletion submitr/scripts/submit_metadata_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ def main(simulated_args_for_testing=None):

if not _sanity_check_submitted_file(args.bundle_filename):
sys.exit(1)

submit_any_ingestion(ingestion_filename=args.bundle_filename, ingestion_type=args.ingestion_type,
env=args.env, env_from_env=env_from_env,
keys_file=args.keys,
Expand Down
2 changes: 1 addition & 1 deletion submitr/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def set_output_file(output_file):
# How often we actually get the IngestionSubmission object from the server (seconds).
PROGRESS_GET_INGESTION_STATUS_INTERVAL = 1
# How often the (tqdm) progress meter updates (seconds).
PROGRESS_INTERVAL = 0.1
PROGRESS_INTERVAL = 1
# How many times the (tqdm) progress meter updates (derived from above).
PROGRESS_MAX_CHECKS = round(PROGRESS_TIMEOUT / PROGRESS_INTERVAL)

Expand Down
Loading