sensible update intervals
This commit is contained in:
parent
3a3b82889d
commit
5a89f5be97
|
@ -4,7 +4,7 @@ from urllib import urequest
|
|||
|
||||
# Length of time between updates in Seconds.
|
||||
# Frequent updates will reduce battery life!
|
||||
UPDATE_INTERVAL = 2
|
||||
UPDATE_INTERVAL = 240
|
||||
|
||||
# API URL
|
||||
URL = "https://www.boredapi.com/api/activity"
|
||||
|
|
|
@ -16,7 +16,7 @@ API_URL = "https://api.nasa.gov/planetary/apod?api_key=CgQGiTiyzQWEfkPgZ4btNM1FT
|
|||
|
||||
# Length of time between updates in minutes.
|
||||
# Frequent updates will reduce battery life!
|
||||
UPDATE_INTERVAL = 1
|
||||
UPDATE_INTERVAL = 240
|
||||
|
||||
# Variable for storing the NASA APOD Title
|
||||
apod_title = None
|
||||
|
|
|
@ -9,7 +9,7 @@ URL = "http://feeds.bbci.co.uk/news/technology/rss.xml"
|
|||
|
||||
# Length of time between updates in minutes.
|
||||
# Frequent updates will reduce battery life!
|
||||
UPDATE_INTERVAL = 30
|
||||
UPDATE_INTERVAL = 90
|
||||
|
||||
graphics = None
|
||||
code = qrcode.QRCode()
|
||||
|
|
Loading…
Reference in New Issue