mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 19:30:11 +00:00
Improve logging
This commit is contained in:
parent
4956eadb82
commit
f5de1fdaf8
|
@ -747,7 +747,6 @@ def start_threads():
|
|||
global threads
|
||||
app.logger.info("STARTING THREADS")
|
||||
|
||||
|
||||
# Start threads
|
||||
btc_thread1 = BackgroundThread(update_bitcoin_main_info_thread, 60) # Restart after 60, thread manages timing
|
||||
btc_thread1.start()
|
||||
|
@ -761,7 +760,7 @@ def start_threads():
|
|||
lnd_thread = BackgroundThread(update_lnd_info_thread, 60)
|
||||
lnd_thread.start()
|
||||
threads.append(lnd_thread)
|
||||
price_thread = BackgroundThread(update_price_info_thread, 15) # 5 minutes
|
||||
price_thread = BackgroundThread(update_price_info_thread, 2) # 2 minutes
|
||||
price_thread.start()
|
||||
threads.append(price_thread)
|
||||
drive_thread = BackgroundThread(update_device_info, 60)
|
||||
|
|
Loading…
Reference in New Issue
Block a user