Skip to content

Commit

Permalink
increase query timeouts (#788)
Browse files Browse the repository at this point in the history
* increase query timeouts

* lower back to 20 seconds
  • Loading branch information
aaronhelton authored Nov 30, 2022
1 parent 74c3c23 commit 576d256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlx_rest/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ class Config(object):
BIB_COLLECTION = 'bibs'
AUTH_COLLECTION = 'auths'
FILE_COLLECTION = 'files'
MAX_QUERY_TIME = 15000
MAX_QUERY_TIME = 20000
2 changes: 1 addition & 1 deletion dlx_rest/static/js/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export let searchcomponent = {
expressions: [],
vcoll: null,
searchTime: 0,
maxTime: 15000, //milliseconds
maxTime: 20000, //milliseconds
headFilters: ['100','110','111', '130', '150','190','191'],
abortController: new AbortController(),
myBasket: {},
Expand Down

0 comments on commit 576d256

Please sign in to comment.