Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.1
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
ports:
- "${DB_PORT}:5432"
- "127.0.0.1:${DB_PORT}:5432"
volumes:
- db_data:/var/lib/postgresql/data
healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ http {
access_log /var/log/nginx/access.log main;
sendfile on;
keepalive_timeout 65;
client_max_body_size 50M;
client_max_body_size 100M;

# Rate limiting: shared memory zones, no DB overhead.
limit_req_zone $binary_remote_addr zone=api:10m rate=30r/m;
Expand Down
2 changes: 1 addition & 1 deletion lenny/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class LennyAPI:

DEFAULT_LIMIT = 50
OPDS_TITLE = "Lenny Catalog"
MAX_FILE_SIZE = 50 * 1024 * 1024
MAX_FILE_SIZE = 100 * 1024 * 1024
VALID_EXTS = {
".pdf": FormatEnum.PDF,
".epub": FormatEnum.EPUB
Expand Down
Loading