Changeset - cfc748f4ad2e
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-15 21:25:22
drewp@bigasterisk.com
add timeout from subserver to vidref
Ignore-this: 9077c67cbbc43eef8a2c7ef080dbca7c
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/subserver
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)