Fixes that last one
This commit is contained in:
parent
8c9bb9b9d5
commit
ec3126be9c
@ -524,8 +524,8 @@ class DocumentViewSet(
|
|||||||
# Cache the suggestions and the classifier hash for later
|
# Cache the suggestions and the classifier hash for later
|
||||||
if classifier is not None:
|
if classifier is not None:
|
||||||
cache.set(
|
cache.set(
|
||||||
(doc_key, classifier.last_auto_type_hash.decode()),
|
doc_key,
|
||||||
resp_data,
|
(classifier.last_auto_type_hash.decode(), resp_data),
|
||||||
CACHE_5_MINUTES,
|
CACHE_5_MINUTES,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user