Esempio n. 1
0
 def get(self):
     memcache.flush_all()
     db.delete(SessionModel.all(keys_only=True).fetch(1000))
Esempio n. 2
0
 def get(self):
     memcache.flush_all()
     db.delete(SessionModel.all(keys_only=True).fetch(1000))
Esempio n. 3
0
 def get(self):
     num_before = SessionModel.all().count()
     delete_expired_sessions()
     num_after = SessionModel.all().count()
     self.response.out.write('%d,%d' % (num_before, num_after))
Esempio n. 4
0
 def get(self):
     num_before = SessionModel.all().count()
     delete_expired_sessions()
     num_after = SessionModel.all().count()
     self.response.out.write('%d,%d' % (num_before, num_after))