This commit is contained in:
2025-11-12 07:10:48 +01:00
parent 08c6f9745f
commit 3038c87b5d
5 changed files with 477 additions and 57 deletions

View File

@@ -8,12 +8,12 @@ from datetime import datetime
import time
import time, socket
for _ in range(30):
try:
socket.create_connection(("127.0.0.1", 3307), timeout=3).close()
break
except OSError:
time.sleep(10)
# for _ in range(30):
# try:
# socket.create_connection(("127.0.0.1", 3307), timeout=3).close()
# break
# except OSError:
# time.sleep(10)
# ================================
# 🔧 CONFIGURATION
# ================================
@@ -23,7 +23,7 @@ BATCH_SIZE = 100
DONE_LIMIT = 200 # only last 200 DONE
DB_CONFIG = {
"host": "127.0.0.1",
"host": "192.168.1.76",
"port": 3307,
"user": "root",
"password": "Vlado9674+",