Karan Adhikari commited on
Commit
ad58f28
·
unverified ·
1 Parent(s): d3a7f5b

Add client_dc_map for client data center management

Browse files

Added client_dc_map to manage client data center mapping.

Files changed (1) hide show
  1. Backend/pyrofork/bot.py +2 -4
Backend/pyrofork/bot.py CHANGED
@@ -1,7 +1,6 @@
1
  from pyrogram import Client
2
  from Backend.config import Telegram
3
 
4
-
5
  StreamBot = Client(
6
  name='bot',
7
  api_id=Telegram.API_ID,
@@ -13,7 +12,6 @@ StreamBot = Client(
13
  max_concurrent_transmissions=10
14
  )
15
 
16
-
17
  Helper = Client(
18
  "helper",
19
  api_id=Telegram.API_ID,
@@ -24,6 +22,6 @@ Helper = Client(
24
  max_concurrent_transmissions=10
25
  )
26
 
27
-
28
  multi_clients = {}
29
- work_loads = {}
 
 
1
  from pyrogram import Client
2
  from Backend.config import Telegram
3
 
 
4
  StreamBot = Client(
5
  name='bot',
6
  api_id=Telegram.API_ID,
 
12
  max_concurrent_transmissions=10
13
  )
14
 
 
15
  Helper = Client(
16
  "helper",
17
  api_id=Telegram.API_ID,
 
22
  max_concurrent_transmissions=10
23
  )
24
 
 
25
  multi_clients = {}
26
+ work_loads = {}
27
+ client_dc_map = {}