Skip to content

Commit

Permalink
[Bref] Add layer name (#83)
Browse files Browse the repository at this point in the history
* [Bref] Add layer name

* Add name to consoleApplicationRUnner

* Use hyphens

* cs
  • Loading branch information
Nyholm authored Sep 20, 2021
1 parent 5fe792d commit 738fabd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BrefRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(Handler $handler, int $loopMax)

public function run(): int
{
$lambda = LambdaRuntime::fromEnvironmentVariable();
$lambda = LambdaRuntime::fromEnvironmentVariable('symfony-runtime');

$loops = 0;
while (true) {
Expand Down
2 changes: 1 addition & 1 deletion src/ConsoleApplicationRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(Application $application)

public function run(): int
{
$lambda = LambdaRuntime::fromEnvironmentVariable();
$lambda = LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console');

while (true) {
$lambda->processNextEvent(function ($event, Context $context): array {
Expand Down

0 comments on commit 738fabd

Please sign in to comment.