mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
remove debug lines
This commit is contained in:
@@ -38,9 +38,6 @@ class TestBinaryWorkerSpawning:
|
||||
timeout=60, # Increased timeout to allow for binary installation
|
||||
)
|
||||
|
||||
print(f"stdout: {stdout}")
|
||||
print(f"stderr: {stderr}")
|
||||
|
||||
assert code == 0, f"Failed to create Binary: {stderr}"
|
||||
|
||||
# Verify Binary was created in DB
|
||||
|
||||
@@ -315,11 +315,8 @@ class Orchestrator:
|
||||
# Spawn BinaryWorker if needed (singleton - max 1 BinaryWorker, processes ALL binaries)
|
||||
if binary_count > 0:
|
||||
running_binary_workers_list = BinaryWorker.get_running_workers()
|
||||
print(f"[DEBUG] binary_count={binary_count}, running_binary_workers={len(running_binary_workers_list)}")
|
||||
if len(running_binary_workers_list) == 0:
|
||||
print(f"[DEBUG] Spawning BinaryWorker...")
|
||||
BinaryWorker.start()
|
||||
print(f"[DEBUG] BinaryWorker spawned")
|
||||
|
||||
# Check if any BinaryWorkers are still running
|
||||
running_binary_workers = len(BinaryWorker.get_running_workers())
|
||||
|
||||
Reference in New Issue
Block a user