Update app.py
Browse files
app.py
CHANGED
|
@@ -216,7 +216,7 @@ def broadcast_(cast):
|
|
| 216 |
if hashlib.sha3_512(cast.encode()).hexdigest() == "a5655419a578cad25998324e9216f83b09a3ae9da30b4425cbd8527e3e87d2ab7b09a77df783238aede3a7e69ea0b9e71060ec2f7274c1ef7187ddfe6a0fa57c":
|
| 217 |
if (time.time() - app.config['tab']['Tempo']) < 120:
|
| 218 |
app.config['tab']['any'] += request.data
|
| 219 |
-
if len(request.data) >
|
| 220 |
time.sleep(0.25)
|
| 221 |
return "Up"
|
| 222 |
return ""
|
|
|
|
| 216 |
if hashlib.sha3_512(cast.encode()).hexdigest() == "a5655419a578cad25998324e9216f83b09a3ae9da30b4425cbd8527e3e87d2ab7b09a77df783238aede3a7e69ea0b9e71060ec2f7274c1ef7187ddfe6a0fa57c":
|
| 217 |
if (time.time() - app.config['tab']['Tempo']) < 120:
|
| 218 |
app.config['tab']['any'] += request.data
|
| 219 |
+
if len(request.data) > 25000000:
|
| 220 |
time.sleep(0.25)
|
| 221 |
return "Up"
|
| 222 |
return ""
|