Skip to content

Commit 737227e

Browse files
author
Steve Salas
committed
Generating trace settings may take a long time
1 parent 90a4b97 commit 737227e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

codepulse/src/main/scala/com/secdec/codepulse/tracer/AkkaTracingTarget.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,9 @@ object AkkaTracingTarget {
171171
}
172172

173173
def connectTrace(trace: Trace)(implicit exc: ExecutionContext) = {
174-
// TraceSettingsCreator.generateTraceSettings may take awhile to complete if
174+
// TraceSettingsCreator.generateTraceSettings may take a long time to complete if
175175
// there are many records in the tree_node_data table. Use a timeout duration of
176-
// 10 minutes to effectively make a synchronous transition between the Initializing
177-
// and Tracing states
176+
// 10 minutes to move between the Initializing and Tracing states
178177
getAckFuture(TraceConnected(trace))(exc = exc, timeout = new Timeout(10.minutes))
179178
}
180179

0 commit comments

Comments
 (0)