Skip to content

Commit aa81b35

Browse files
committed
process queue timeout fixed
1 parent 8e80812 commit aa81b35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nebula/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class NebulaEventHandler(PatternMatchingEventHandler):
6767
def __init__(self):
6868
super(NebulaEventHandler, self).__init__()
6969
self.last_processed = {}
70-
self.timeout_ns = 10 * 1e9
70+
self.timeout_ns = 5 * 1e9
7171
self.processing_files = set()
7272
self.lock = threading.Lock()
7373

nebula/frontend/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ async def run_scenarios(data, role):
11061106
finish_scenario_event.clear()
11071107
scenarios_finished = scenarios_finished + 1
11081108
stop_scenario(scenario_name)
1109-
await asyncio.sleep(1)
1109+
await asyncio.sleep(5)
11101110

11111111

11121112
@app.post("/nebula/dashboard/deployment/run")

0 commit comments

Comments
 (0)