notebook
This commit is contained in:
@@ -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+",
|
||||
|
||||
Reference in New Issue
Block a user