Tweak remote tracking

This commit is contained in:
Thomas Sileo 2019-08-09 00:08:22 +02:00
parent 1f7472049a
commit f26b4eabe3

View file

@ -22,7 +22,11 @@ def track_successful_send(url: str) -> None:
url,
{
"$inc": {"successful_send": 1},
"$set": {"last_successful_contact": now_, "last_contact": now_},
"$set": {
"last_successful_contact": now_,
"last_successful_send": now_,
"last_contact": now_,
},
},
)
return None