|
@@ -29,7 +29,7 @@ def graph(uuid): |
|
|
data = json.dumps(g.to_json(stringify=True)) |
|
|
data = json.dumps(g.to_json(stringify=True)) |
|
|
|
|
|
|
|
|
# Insert into the database |
|
|
# Insert into the database |
|
|
redis.setex(uuid, data, DAY) |
|
|
|
|
|
|
|
|
redis.setex(uuid, DAY, data) |
|
|
|
|
|
|
|
|
# Return success |
|
|
# Return success |
|
|
return "Posted {} bytes OK".format(len(data)) |
|
|
return "Posted {} bytes OK".format(len(data)) |
|
|