Ejemplo n.º 1
0
def gearman_thumbnail_image(size,data=None,in_path=None,out_path=None):
    from gearmanlib import helpers
    return helpers.call_gearman(helpers.get_key(thumbnail_image),
                                size,data,in_path,out_path,
                                hosts=GEARMAN_HOSTS)
Ejemplo n.º 2
0
def gearman_download_resource(url):
    from gearmanlib import helpers
    return helpers.call_gearman(helpers.get_key(download_resource),
                                url,hosts=GEARMAN_HOSTS)