Did I find the right examples for you? yes no

All Samples(36)  |  Call(36)  |  Derive(0)  |  Import(0)
Expire all data in memcache servers that are reachable.

src/a/d/adhocracy-2.4.1/parts/omelette/adhocracy/lib/app_globals.py   adhocracy(Download)
            log.debug("Memcache set up")
            log.debug("Flushing cache")
            self.cache.flush_all()
        else:
            log.warn("Skipped memcache, no results caching will take place.")

src/r/e/realtimecongress-server-old-HEAD/scrapers/management/commands/grab_senate_hearings.py   realtimecongress-server-old(Download)
        def flush_cache():
            memc = memcache.Client(['127.0.0.1:11211'])
            memc.flush_all() #flush memcache
 
        chamber = "Senate"

src/r/e/realtimecongress-server-old-HEAD/scrapers/management/commands/grab_senate_floor.py   realtimecongress-server-old(Download)
        def flush_cache():
            memc = memcache.Client(['127.0.0.1:11211'])
            memc.flush_all() #flush memcache
 
        def add_event(event):

src/r/e/realtimecongress-server-old-HEAD/scrapers/management/commands/grab_republican_whip.py   realtimecongress-server-old(Download)
        def flush_cache():
            memc = memcache.Client(['127.0.0.1:11211'])
            memc.flush_all() #flush memcache        
 
        #handy string cleaning functions found at http://love-python.blogspot.com/2008/07/strip-html-tags-using-python.html

src/r/e/realtimecongress-server-old-HEAD/scrapers/management/commands/grab_news.py   realtimecongress-server-old(Download)
        def flush_cache():
            memc = memcache.Client(['127.0.0.1:11211'])
            memc.flush_all() #flush memcache
 
        def update_docs(source):

src/r/e/realtimecongress-server-old-HEAD/scrapers/management/commands/grab_house_hearings.py   realtimecongress-server-old(Download)
        def flush_cache():
            memc = memcache.Client(['127.0.0.1:11211'])
            memc.flush_all() #flush memcache
 
        d = feedparser.parse("http://www.govtrack.us/users/events-rss2.xpd?monitors=misc:allcommittee")

src/r/e/realtimecongress-server-old-HEAD/scrapers/management/commands/grab_house_floor.py   realtimecongress-server-old(Download)
        def flush_cache():
            memc = memcache.Client(['127.0.0.1:11211'])
            memc.flush_all() #flush memcache
 
        def add_event(event):

src/c/a/calloway-0.4.2/calloway/apps/django_ext/management/commands/flush_all_memcached.py   calloway(Download)
                '').replace('/','').split(';')
            mc = memcache.Client(servers, debug=0)
            mc.flush_all()

src/a/d/adhocracy-2.4.1/src/adhocracy/lib/app_globals.py   adhocracy(Download)
            log.debug("Memcache set up")
            log.debug("Flushing cache")
            self.cache.flush_all()
        else:
            log.warn("Skipped memcache, no results caching will take place.")

src/a/d/adhocracy-2.4.1/installed_eggs/adhocracy/lib/app_globals.py   adhocracy(Download)
            log.debug("Memcache set up")
            log.debug("Flushing cache")
            self.cache.flush_all()
        else:
            log.warn("Skipped memcache, no results caching will take place.")

  1 | 2 | 3 | 4  Next