Fred808 commited on
Commit
3b1e221
·
verified ·
1 Parent(s): 77e2486

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=ParallelMiner(num_cores=5),
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