mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-07 10:49:00 +00:00
Feed all cached data on the page
This commit is contained in:
parent
2994aa16bc
commit
4362f6c0f0
@ -31,8 +31,8 @@ class Client(SocketConnection):
|
||||
class MainHandler(tornado.web.RequestHandler):
|
||||
cacher = None
|
||||
def get(self):
|
||||
if cacher is not None:
|
||||
cached_data = cacher.get_all_data()
|
||||
if MainHandler.cacher is not None:
|
||||
cached_data = MainHandler.cacher.get_all_data()
|
||||
else:
|
||||
cached_data = {}
|
||||
self.render("index.jade", cached_data=cached_data)
|
||||
|
Loading…
Reference in New Issue
Block a user