Skip to content

Commit

Permalink
Merge pull request #23 from lsst-epo/22-update-timeout-in-citsci-package
Browse files Browse the repository at this point in the history
Increased request timeout
  • Loading branch information
ericdrosas87 authored Mar 19, 2024
2 parents 55e9542 + 672c84f commit 3cefe13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Copyright 2023 Association of Universities for Research in Astronomy, Inc. (AURA)
Copyright 2024 Association of Universities for Research in Astronomy, Inc. (AURA)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rubin.citsci"
version = "0.2.5"
version = "0.2.6"
readme = "README.md"
dependencies = [
"panoptes_client",
Expand Down
2 changes: 1 addition & 1 deletion src/rubin/citsci/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def __alert_edc_of_new_citsci_data(self, tabular = False):
resource = "citizen-science-image-ingest" if tabular == False else "citizen-science-tabular-ingest"
edc_endpoint = "https://rsp-data-exporter" + self.dev_mode_url + "-dot-skyviewer.uw.r.appspot.com/" + resource + "?email=" + self.email + "&vendor_project_id=" + project_id_str + "&guid=" + self.guid + "&vendor_batch_id=" + str(self.vendor_batch_id) + "&debug=True"
# print(edc_endpoint)
response = urllib.request.urlopen(edc_endpoint).read()
response = urllib.request.urlopen(edc_endpoint, timeout=3600).read()
str(response)
manifestUrl = response.decode('UTF-8')
return manifestUrl
Expand Down

0 comments on commit 3cefe13

Please sign in to comment.