Skip to content

Commit

Permalink
Merge pull request #28 from unfoldingWord-dev/develop
Browse files Browse the repository at this point in the history
Upgrade packages; increase timeouts
  • Loading branch information
RobH123 committed Aug 24, 2020
2 parents bed56b8 + df61a6c commit d4651e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ language: python
# See available versions at https://docs.travis-ci.com/user/languages/python/
python:
- '3.8'
- 'nightly'
- '3.9-dev'
- 'nightly' # currently 3.10
# NOTE: We only deploy on ONE of these tests being successful -- see condition below

jobs:
allow_failures:
- python: nightly

services:
- docker

Expand Down
4 changes: 2 additions & 2 deletions tXenqueue/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
attrs==19.1.0

Flask==1.1.2
rq==1.4.2
rq==1.5.1
gunicorn==20.0.4
statsd==3.3.0
watchtower==0.7.3
watchtower==0.8.0
gogs_client==1.0.6
4 changes: 2 additions & 2 deletions tXenqueue/tx_enqueue_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
prefixed_our_name = prefix + OUR_NAME


JOB_TIMEOUT = '400s' if prefix else '300s' # Then a running job (taken out of the queue) will be considered to have failed
JOB_TIMEOUT = '900s' if prefix else '800s' # Then a running job (taken out of the queue) will be considered to have failed
# NOTE: This is the time until webhook.py returns after running the jobs.

# T4T is definitely one of our largest/slowest resources to lint and convert

# Get the redis URL from the environment, otherwise use a local test instance
redis_hostname = getenv('REDIS_HOSTNAME', 'redis')
Expand Down

0 comments on commit d4651e6

Please sign in to comment.