Skip to content

Commit

Permalink
Merge pull request #328 from CanDIG/develop
Browse files Browse the repository at this point in the history
Hotfix: pick up database connection fixes
  • Loading branch information
daisieh authored Oct 10, 2024
2 parents 07de505 + 420c8b9 commit 5ee8a70
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 166 deletions.
1 change: 1 addition & 0 deletions config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Port = 3000
BasePath = /htsget/v1
ChunkSize = 1000000
BucketSize = 10000
MaxTries = 5
AGGREGATE_COUNT_THRESHOLD = <AGGREGATE_COUNT_THRESHOLD>

[paths]
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ candigv2_logging.logging.initialize()"
# use the following for development
#python3 htsget_server/server.py

python htsget_server/indexing.py &
bash htsget_server/indexing.sh &

# use the following instead for production deployment
cd htsget_server
Expand Down
2 changes: 2 additions & 0 deletions htsget_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

AGGREGATE_COUNT_THRESHOLD = config['DEFAULT']['AGGREGATE_COUNT_THRESHOLD']

MAX_TRIES = int(config['DEFAULT']['MaxTries'])

TEST_KEY = os.getenv("HTSGET_TEST_KEY", "testtesttest")

DEBUG_MODE = False
Expand Down
Loading

0 comments on commit 5ee8a70

Please sign in to comment.