nvd commited on
Update main.py
Browse files
main.py
CHANGED
|
@@ -25,7 +25,7 @@ BALE_LOG_CHAT_ID = get_env("BALE_LOG_CHAT_ID") or BALE_CHAT_ID
|
|
| 25 |
env_channels = [c.strip().lower() for c in (get_env("TARGET_CHANNELS") or "").split(",") if c.strip()]
|
| 26 |
TARGET_CHANNELS = list(set(env_channels + ["iu39f", "TirexNet", "xsfilterrnet"]))
|
| 27 |
|
| 28 |
-
CHUNK_SIZE =
|
| 29 |
MAX_TEXT_LEN = 4000 # Bale maximum message length
|
| 30 |
|
| 31 |
LARGE_FILE_SEMAPHORE = asyncio.Semaphore(2)
|
|
|
|
| 25 |
env_channels = [c.strip().lower() for c in (get_env("TARGET_CHANNELS") or "").split(",") if c.strip()]
|
| 26 |
TARGET_CHANNELS = list(set(env_channels + ["iu39f", "TirexNet", "xsfilterrnet"]))
|
| 27 |
|
| 28 |
+
CHUNK_SIZE = 19 * 1024 * 1024 # 19 MB
|
| 29 |
MAX_TEXT_LEN = 4000 # Bale maximum message length
|
| 30 |
|
| 31 |
LARGE_FILE_SEMAPHORE = asyncio.Semaphore(2)
|