Commit 2485f7da authored by ibuler's avatar ibuler

[Bugfix] 修复初始化jms recorder的错误

parent ee0e66f7
...@@ -67,7 +67,9 @@ class ReplayRecorder(metaclass=abc.ABCMeta): ...@@ -67,7 +67,9 @@ class ReplayRecorder(metaclass=abc.ABCMeta):
if self.storage.type == 'jms': if self.storage.type == 'jms':
return False return False
else: else:
self.storage = jms_storage.JMSReplayStorage(app_service) self.storage = jms_storage.JMSReplayStorage(
{"SERVICE": app_service}
)
self.upload_replay(session_id, times=3) self.upload_replay(session_id, times=3)
ok, msg = self.push_to_storage(session_id) ok, msg = self.push_to_storage(session_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment