shithub: werc

Download patch

ref: 534ee5f3b4335266ab79940442a54a3460d216ad
parent: 1181046c9e1ee59fa0e6b6d93591fef7a415ed19
author: Uriel <u@berlinblue.org>
date: Wed Aug 5 21:09:04 EDT 2009

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

--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -124,7 +124,7 @@
         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
--