Skip to content

Commit

Permalink
Merge pull request #3663 from bensteinberg/update-20241122
Browse files Browse the repository at this point in the history
Update Scoop API image
  • Loading branch information
bensteinberg authored Nov 22, 2024
2 parents 2fa1c8e + 6638c12 commit b6dee65
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Flake8
working-directory: perma_web
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.event_name == 'pull_request' || github.repository == 'harvard-lil/perma'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

### build docker images locally ###

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ services:
- scoop_rest_api_internal

scoop-rest-api:
image: registry.lil.tools/harvardlil/scoop-rest-api:115-b5a7074a9cc60e0ec6037f960dab7d80
image: registry.lil.tools/harvardlil/scoop-rest-api:118-f279b56049946875fea9cb87b094ee47
init: true
tty: true
depends_on:
Expand Down
7 changes: 7 additions & 0 deletions services/docker/scoop-rest-api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@
#
# Path and artifact settings
#
MAX_SUPPORTED_ARCHIVE_FILESIZE = int(os.environ.get("MAX_SUPPORTED_ARCHIVE_FILESIZE", 10**9))
"""
What is the largest archive this application can save and serve without failure? (In bytes).
Can be provided via an environment variable.
Default: 1GB
"""

TEMPORARY_STORAGE_EXPIRATION = os.environ.get("TEMPORARY_STORAGE_EXPIRATION", str(60 * 60 * 24))
""" How long should temporary files be stored for? (In seconds). Can be provided via an environment variable. """ # noqa

Expand Down

0 comments on commit b6dee65

Please sign in to comment.