Skip to content

Commit 1a348b6

Browse files
committed
Reduce processing delay in on_message method to improve performance
1 parent 2317825 commit 1a348b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tests/bench/bench_bo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ class BenchIoPOperation(BusinessOperation):
66
my_param = "BenchIoPOperation"
77

88
def on_message(self, request):
9-
time.sleep(0.01) # Simulate some processing delay
9+
time.sleep(0.001) # Simulate some processing delay
1010
return request

src/tests/bench/cls/Bench.Operation.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method Method(
1212

1313
try{
1414
// Simulate some processing time
15-
hang 0.01
15+
hang 0.001
1616
set pResponse = pRequest
1717

1818
}

0 commit comments

Comments
 (0)