Add to rider cache rider's current location. #535
This commit is contained in:
parent
c2fcf00249
commit
903a8bd3f7
1 changed files with 3 additions and 0 deletions
|
|
@ -68,3 +68,6 @@ def on_message(client, userdata, message):
|
|||
#print payload
|
||||
|
||||
client.publish(channel, payload)
|
||||
|
||||
# add to rider_cache rider's latest location
|
||||
redis_conn.geoadd('loc_rider_active', rider_log, rider_lat, rider_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue