# HG changeset patch # User drewp@bigasterisk.com # Date 2013-06-15 21:25:22 # Node ID cfc748f4ad2ed4345a71d4fd574658771f6fa465 # Parent 527b592b482afb2f580a4780d08ee0daa68666e8 add timeout from subserver to vidref Ignore-this: 9077c67cbbc43eef8a2c7ef080dbca7c diff --git a/bin/subserver b/bin/subserver --- a/bin/subserver +++ b/bin/subserver @@ -76,7 +76,7 @@ class Snapshot(PrettyErrorHandler, cyclo @defer.inlineCallbacks def post(self): about = URIRef(self.get_argument("about")) - response = yield cyclone.httpclient.fetch(networking.vidref.path("snapshot"), method="POST") + response = yield cyclone.httpclient.fetch(networking.vidref.path("snapshot"), method="POST", timeout=1) snapUri = URIRef(json.loads(response.body)['snapshot']) # vidref could write about when it was taken, etc. would it be