merge training system
This commit is contained in:
@@ -8149,12 +8149,12 @@ class CleanTradingDashboard:
|
||||
'price_at_prediction': self._get_current_price(symbol)
|
||||
}
|
||||
|
||||
# Sleep for 10 seconds (0.1Hz prediction rate for cold start)
|
||||
time.sleep(10.0)
|
||||
# Sleep for 2 seconds to improve GPU utilization and responsiveness
|
||||
time.sleep(2.0)
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error in CNN prediction worker: {e}")
|
||||
time.sleep(10.0) # Wait same interval on error
|
||||
time.sleep(2.0) # Wait same interval on error
|
||||
|
||||
# Start the worker thread
|
||||
import threading
|
||||
|
Reference in New Issue
Block a user