Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Switch to ten mb constant

William Easton50478e7884b8
diff --git a/src/fastmcp/settings.py b/src/fastmcp/settings.py
index 67dc16826..f4c83abe3 100644
--- a/src/fastmcp/settings.py
+++ b/src/fastmcp/settings.py
@@ -80,7 +80,7 @@ class DiskStorageSettings(BaseSettings):
Field(
description="The maximum size for each collection in the storage directory, in bytes."
),
- ] = 1024 * 1024 * 10 # 10MB
+ ] = TEN_MB_IN_BYTES # 10MB
class ExperimentalSettings(BaseSettings):