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.
|
# Length of time between updates in Seconds.
|
||||||
# Frequent updates will reduce battery life!
|
# Frequent updates will reduce battery life!
|
||||||
UPDATE_INTERVAL = 2
|
UPDATE_INTERVAL = 240
|
||||||
|
|
||||||
# API URL
|
# API URL
|
||||||
URL = "https://www.boredapi.com/api/activity"
|
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.
|
# Length of time between updates in minutes.
|
||||||
# Frequent updates will reduce battery life!
|
# Frequent updates will reduce battery life!
|
||||||
UPDATE_INTERVAL = 1
|
UPDATE_INTERVAL = 240
|
||||||
|
|
||||||
# Variable for storing the NASA APOD Title
|
# Variable for storing the NASA APOD Title
|
||||||
apod_title = None
|
apod_title = None
|
||||||
|
|
|
@ -9,7 +9,7 @@ URL = "http://feeds.bbci.co.uk/news/technology/rss.xml"
|
||||||
|
|
||||||
# Length of time between updates in minutes.
|
# Length of time between updates in minutes.
|
||||||
# Frequent updates will reduce battery life!
|
# Frequent updates will reduce battery life!
|
||||||
UPDATE_INTERVAL = 30
|
UPDATE_INTERVAL = 90
|
||||||
|
|
||||||
graphics = None
|
graphics = None
|
||||||
code = qrcode.QRCode()
|
code = qrcode.QRCode()
|
||||||
|
|
Loading…
Reference in New Issue