Skip to content

Commit

Permalink
CU-2e77a98: Increase nginx conf for v large models. Use latest medcat…
Browse files Browse the repository at this point in the history
… install, needs to be changed to 1.12 release once available
  • Loading branch information
tomolopolis committed Jun 7, 2024
1 parent 28e2ffc commit d24e9b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ http {
proxy_read_timeout 3000;
send_timeout 3000;

#client body size to 6M #
client_max_body_size 3000M;
# increase client body size - Model packs can be over 3G.s
client_max_body_size 4000M;
# Speed up file transfers by using sendfile() to copy directly
# between descriptors rather than using read()/write().
# For performance reasons, on FreeBSD systems w/ ZFS
Expand Down
1 change: 0 additions & 1 deletion nginx/sites-enabled/medcattrainer
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ server {
server_name localhost;
charset utf-8;
large_client_header_buffers 4 32k;
client_max_body_size 10G;

location /static {
alias /home/api/static;
Expand Down
2 changes: 1 addition & 1 deletion webapp/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ django-polymorphic~=3.0
djangorestframework~=3.10
django-background-tasks~=1.2
openpyxl~=3.0
medcat~=1.10
medcat @ git+https://github.com/CogStack/MedCAT@03c68817f4db25cd867ae118ff8dcca12151cf90

0 comments on commit d24e9b3

Please sign in to comment.