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 3a1191a4a0
commit c2d81e3dfb

View File

@ -124,7 +124,7 @@ fn mkbpost {
if(! ~ $"conf_blog_pubsubdub_hub '') {
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
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