示例#1
0
def update_statcounter(self, ago=1):
    with self.redis_pipeline() as pipe:
        with self.db_session() as session:
            stats.StatCounterUpdater(self, session, pipe)(ago=ago)
示例#2
0
def update_statcounter(self):
    stats.StatCounterUpdater(self)()
示例#3
0
def update_statcounter(self, ago=1):
    stats.StatCounterUpdater(self)(ago=ago)