Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ async def startup_event():
|
|
| 111 |
miner_instance = ParallelMiner(num_cores=5) # Increased cores for better performance
|
| 112 |
# Start mining in background thread
|
| 113 |
mining_instance = threading.Thread(
|
| 114 |
-
target=
|
| 115 |
kwargs={"duration": None} # Run forever
|
| 116 |
)
|
| 117 |
mining_instance.daemon = True
|
|
|
|
| 111 |
miner_instance = ParallelMiner(num_cores=5) # Increased cores for better performance
|
| 112 |
# Start mining in background thread
|
| 113 |
mining_instance = threading.Thread(
|
| 114 |
+
target=miner_instance,
|
| 115 |
kwargs={"duration": None} # Run forever
|
| 116 |
)
|
| 117 |
mining_instance.daemon = True
|