Skip to content

Commit

Permalink
Merge pull request #327 from CanDIG/daisieh/performance
Browse files Browse the repository at this point in the history
Performance fixes
  • Loading branch information
daisieh authored Oct 10, 2024
2 parents 3aea144 + b4b945a commit 420c8b9
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 420c8b9

Please sign in to comment.