Actually queue up the ping_hub operation on the queue by using its delay() method
This commit is contained in:
parent
e853e22362
commit
45298abb98
2 changed files with 7 additions and 4 deletions
|
@ -43,7 +43,7 @@ def micropub(request):
|
|||
reverse('entries:atom'),
|
||||
reverse('entries:rss'),
|
||||
))
|
||||
ping_hub(perma, *others)
|
||||
ping_hub.delay(perma, *others)
|
||||
|
||||
res = HttpResponse(status=201)
|
||||
res['Location'] = perma
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue