Skip to content

Commit e3822cd

Browse files
committed
🔧 Make read timeout configurable
1 parent ba9e24e commit e3822cd

File tree

1 file changed

+2
-1
lines changed
  • backend/src/openarchiefbeheer/conf

1 file changed

+2
-1
lines changed

backend/src/openarchiefbeheer/conf/base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,9 @@
389389

390390
RELEASE = config("RELEASE", GIT_SHA)
391391

392+
REQUESTS_READ_TIMEOUT = config("REQUESTS_READ_TIMEOUT", 30)
392393
# Default (connection timeout, read timeout) for the requests library (in seconds)
393-
REQUESTS_DEFAULT_TIMEOUT = (10, 30)
394+
REQUESTS_DEFAULT_TIMEOUT = (10, REQUESTS_READ_TIMEOUT)
394395

395396
##############################
396397
# #

0 commit comments

Comments
 (0)