Do Pubsubhubbub submit in the background so we don't block.

This commit is contained in:
Uriel 2009-08-06 01:09:04 +00:00
parent 1181046c9e
commit 534ee5f3b4

View file

@ -124,7 +124,7 @@ fn mkbpost {
if(! ~ $"conf_blog_pubsubdub_hub '') { if(! ~ $"conf_blog_pubsubdub_hub '') {
ifs='' { p=`{echo $req_url|sed 's/new_post$/index.atom/'|url_encode } } ifs='' { p=`{echo $req_url|sed 's/new_post$/index.atom/'|url_encode } }
dprint hget -p 'hub.mode=publish&hub.url='^$"p $conf_blog_pubsubdub_hub dprint hget -p 'hub.mode=publish&hub.url='^$"p $conf_blog_pubsubdub_hub
hget -d -h -p 'hub.mode=publish&hub.url='^$"p $conf_blog_pubsubdub_hub >[1=2] hget -d -h -p 'hub.mode=publish&hub.url='^$"p $conf_blog_pubsubdub_hub >[1=2] &
} }
} }
status=$_status status=$_status