Skip to content

Commit 6f418d9

Browse files
committed
feat: log worker count and max concurrency
1 parent 831d481 commit 6f418d9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lambda-runtime/src/runtime.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,13 @@ where
256256
) -> Result<(), BoxError> {
257257
let limit = concurrency_limit as usize;
258258

259+
debug!(
260+
event = "runtime_worker_pool_initializing",
261+
worker_count = limit,
262+
execution_environment_max_concurrency = limit,
263+
"runtime worker pool initializing",
264+
);
265+
259266
// Use FuturesUnordered so we can observe worker exits as they happen,
260267
// rather than waiting for all workers to finish (join_all).
261268
let mut workers: FuturesUnordered<tokio::task::JoinHandle<(tokio::task::Id, Result<(), BoxError>)>> =

0 commit comments

Comments
 (0)