web/data/cubicweb.goa.js
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 16 Apr 2013 16:51:18 +0200
branchstable
changeset 8953 041804bc48e9
parent 6215 759cf097f5aa
permissions -rw-r--r--
[server] add a looping task to free unused cnxsets capture by dead pyro When a pyro client disconnects, we're not necessarily notified so they can hang on to their session/cnxset forever. Don't let them do that. The hacky looping task is only installed when pyro is enabled. This optional activation save this very hacky patch from being rejected. closes #2825380

/**
 *  functions specific to cubicweb on google appengine
 *
 *  :organization: Logilab
 *  :copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

/**
 * .. function:: rql_for_eid(eid)
 *
 * overrides rql_for_eid function from htmlhelpers.hs
 */
function rql_for_eid(eid) {
        return 'Any X WHERE X eid "' + eid + '"';
}