Add missing @helper.encodeResponse in StatsPlugin.py and BootstrapperPlugin.py
This commit is contained in:
parent
a2cb1615b3
commit
076684176b
2 changed files with 4 additions and 0 deletions
|
@ -373,6 +373,7 @@ class UiRequestPlugin(object):
|
||||||
gc.collect() # Implicit grabage collection
|
gc.collect() # Implicit grabage collection
|
||||||
yield "Done in %.1f" % (time.time() - s)
|
yield "Done in %.1f" % (time.time() - s)
|
||||||
|
|
||||||
|
@helper.encodeResponse
|
||||||
def actionDumpobj(self):
|
def actionDumpobj(self):
|
||||||
|
|
||||||
import gc
|
import gc
|
||||||
|
@ -410,6 +411,7 @@ class UiRequestPlugin(object):
|
||||||
|
|
||||||
gc.collect() # Implicit grabage collection
|
gc.collect() # Implicit grabage collection
|
||||||
|
|
||||||
|
@helper.encodeResponse
|
||||||
def actionListobj(self):
|
def actionListobj(self):
|
||||||
|
|
||||||
import gc
|
import gc
|
||||||
|
@ -827,6 +829,7 @@ class UiRequestPlugin(object):
|
||||||
|
|
||||||
yield "<br>Done. Total: %.2fs" % (time.time() - t)
|
yield "<br>Done. Total: %.2fs" % (time.time() - t)
|
||||||
|
|
||||||
|
@helper.encodeResponse
|
||||||
def actionGcCollect(self):
|
def actionGcCollect(self):
|
||||||
import gc
|
import gc
|
||||||
self.sendHeader()
|
self.sendHeader()
|
||||||
|
|
|
@ -130,6 +130,7 @@ class FileRequestPlugin(object):
|
||||||
|
|
||||||
@PluginManager.registerTo("UiRequest")
|
@PluginManager.registerTo("UiRequest")
|
||||||
class UiRequestPlugin(object):
|
class UiRequestPlugin(object):
|
||||||
|
@helper.encodeResponse
|
||||||
def actionStatsBootstrapper(self):
|
def actionStatsBootstrapper(self):
|
||||||
self.sendHeader()
|
self.sendHeader()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue