Latest push received in the last 5 seconds instead of 2

This commit is contained in:
Fabio Manganiello 2018-01-07 13:18:01 +01:00
parent 305dcfe530
commit bad5ff339f

View file

@ -25,7 +25,7 @@ class PushbulletBackend(Backend):
}
def _get_latest_push(self):
t = int(time.time()) - 2
t = int(time.time()) - 5
try:
response = requests.get(
u'https://api.pushbullet.com/v2/pushes',