mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-12 12:12:04 +08:00
patched guard logic in max drawdown calculation. needs real work.
This commit is contained in:
@@ -189,9 +189,6 @@ class Component(object):
|
||||
|
||||
self.stop_tic = time.time()
|
||||
|
||||
# shouldn't block if we've done our job correctly
|
||||
# self.context.term()
|
||||
|
||||
def run(self, catch_exceptions=True):
|
||||
"""
|
||||
Run the component.
|
||||
@@ -214,12 +211,6 @@ class Component(object):
|
||||
|
||||
self.shutdown()
|
||||
self.teardown_sockets()
|
||||
#else:
|
||||
#try:
|
||||
#self._run()
|
||||
#finally:
|
||||
#self.shutdown()
|
||||
#self.teardown_sockets()
|
||||
|
||||
def working(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user