limit msg size to 0.5MB

This commit is contained in:
2026-03-10 08:36:18 +07:00
parent 54ecc811f7
commit 99f1b2e720
4 changed files with 6 additions and 6 deletions

View File

@@ -34,9 +34,9 @@ except ImportError:
# ---------------------------------------------- Constants ---------------------------------------------- #
"""
Default size threshold for switching from direct to link transport (1MB)
Default size threshold for switching from direct to link transport (0.5MB)
"""
DEFAULT_SIZE_THRESHOLD = 1_000_000
DEFAULT_SIZE_THRESHOLD = 500_000
"""
Default NATS server URL