mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
11bea7b2ee
re-implement MAX_INVOCATIONS and fix shell script Fix https://github.com/swift-server/swift-aws-lambda-runtime/issues/377 ### Motivation: In v1, there was a script measuring the performance of the invocation loop. Re-instate this script to allow users and developers to measure the performance impact of their changes. ### Modifications: I re-implemented MAX_INVOCATIONS, to avoid the client looping against the Mock Server. But this time, MAX_INVOCATIONS is handled on the server, not on the client. I slightly modified the script to work with v2 and the new MockServer. ### Result: The script works. This PR has a dependency on https://github.com/swift-server/swift-aws-lambda-runtime/issues/465