aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/mongo/models.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-02-19 12:13:26 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-02-21 20:47:26 +0100
commit572d4f01ff3bee75574c00bc85bc8a2700ba9828 (patch)
tree995d096d0b764ab421369cb54ba7f853dba8e16a /mediagoblin/db/mongo/models.py
parent99812bbc4a76735824708b341ea283f09a1b423c (diff)
downloadmediagoblin-572d4f01ff3bee75574c00bc85bc8a2700ba9828.tar.lz
mediagoblin-572d4f01ff3bee75574c00bc85bc8a2700ba9828.tar.xz
mediagoblin-572d4f01ff3bee75574c00bc85bc8a2700ba9828.zip
Use task_id in generating the queue file path
The task_id is created anyway as a UUID. So it is very unique per definition. The only thing needed for the queue file path is a unique part. Before the objectid of the MediaEntry was used instead. But in the sql world the objectid is only available after an "insert" on the db. And creating the queue_file_path afterwards would require an "update" on the db. We can save that. ... for now.
Diffstat (limited to 'mediagoblin/db/mongo/models.py')
0 files changed, 0 insertions, 0 deletions