File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1047,10 +1047,11 @@ pub static FUNRUN_INITIAL_PERMIT_TIMEOUT: LazyLock<Duration> =
10471047/// backend/node-executor code.
10481048///
10491049/// AWS has a rate limit of 15/s on their APIs, so we need this to be roughly
1050- /// large enough to be on the same scale as N/s where N is the number of
1051- /// instances with lambdas.
1050+ /// larger than (N / 15) where N is the number of instances with lambdas.
1051+ ///
1052+ /// You can check go/num-instances-with-lambdas
10521053pub static AWS_LAMBDA_DEPLOY_SPLAY_SECONDS : LazyLock < Duration > =
1053- LazyLock :: new ( || Duration :: from_secs ( env_config ( "AWS_LAMBDA_DEPLOY_SPLAY_SECONDS" , 1800 ) ) ) ;
1054+ LazyLock :: new ( || Duration :: from_secs ( env_config ( "AWS_LAMBDA_DEPLOY_SPLAY_SECONDS" , 5000 ) ) ) ;
10541055
10551056/// The maximum number of requests to send using a single AWS Lambda client.
10561057/// Empirical tests have shown that AWS servers allows up to 128 concurrent
You can’t perform that action at this time.
0 commit comments