enh: folder_max_file_count

This commit is contained in:
Timothy Jaeryang Baek
2026-01-01 02:51:35 +04:00
parent 4eadf84e1f
commit a1036e544d
6 changed files with 45 additions and 1 deletions
+6
View File
@@ -1543,6 +1543,12 @@ ENABLE_FOLDERS = PersistentConfig(
os.environ.get("ENABLE_FOLDERS", "True").lower() == "true",
)
FOLDER_MAX_FILE_COUNT = PersistentConfig(
"FOLDER_MAX_FILE_COUNT",
"folders.max_file_count",
int(os.environ.get("FOLDER_MAX_FILE_COUNT", "100")),
)
ENABLE_CHANNELS = PersistentConfig(
"ENABLE_CHANNELS",
"channels.enable",