mrpoddaa commited on
Commit
22ceeaa
Β·
verified Β·
1 Parent(s): 5d8de32

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -30,7 +30,7 @@ const BASE_URL = process.env.BASE_URL || `http://localhost:${PORT}`;
30
  // ─── CONSTANTS ────────────────────────────────────────────────────────────────
31
  const TG_MAX_SIZE = 1.9 * 1024 * 1024 * 1024; // 1.9 GB per TG document
32
  const PART_SIZE = 512 * 1024; // 512 KB TG part
33
- const PIECE_SIZE = 1.9 * 1024 * 1024 * 1024; // 20 MB per upload piece
34
  const ALIGN = 4 * 1024;
35
  const DL_PART = 512 * 1024;
36
 
 
30
  // ─── CONSTANTS ────────────────────────────────────────────────────────────────
31
  const TG_MAX_SIZE = 1.9 * 1024 * 1024 * 1024; // 1.9 GB per TG document
32
  const PART_SIZE = 512 * 1024; // 512 KB TG part
33
+ const PIECE_SIZE = 20 * 1024 * 1024; // 20 MB per upload piece
34
  const ALIGN = 4 * 1024;
35
  const DL_PART = 512 * 1024;
36