Skip to content

Commit

Permalink
Merge pull request #480 from patchlevel/fix-worker-commands
Browse files Browse the repository at this point in the history
fix worker commands
  • Loading branch information
DavidBadura authored Feb 1, 2024
2 parents b44bcd6 + 163e87a commit 43f8f1f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"doctrine/dbal": "^3.8.0",
"patchlevel/hydrator": "^1.1.0",
"patchlevel/worker": "^1.1.0",
"patchlevel/worker": "^1.1.1",
"psr/cache": "^2.0.0|^3.0.0",
"psr/clock": "^1.0",
"psr/event-dispatcher": "^1.0",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Console/Command/OutboxConsumeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function configure(): void
'memory-limit',
null,
InputOption::VALUE_REQUIRED,
'How much memory consumption should the worker be terminated',
'How much memory consumption should the worker be terminated (e.g. 250MB)',
)
->addOption(
'time-limit',
Expand All @@ -59,7 +59,7 @@ protected function configure(): void
'sleep',
null,
InputOption::VALUE_REQUIRED,
'How much time should elapse before the next job is executed in microseconds',
'How much time should elapse before the next job is executed in milliseconds',
1000,
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Console/Command/ProjectionRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function configure(): void
'memory-limit',
null,
InputOption::VALUE_REQUIRED,
'How much memory consumption should the worker be terminated',
'How much memory consumption should the worker be terminated (e.g. 250MB)',
)
->addOption(
'time-limit',
Expand All @@ -52,7 +52,7 @@ protected function configure(): void
'sleep',
null,
InputOption::VALUE_REQUIRED,
'How much time should elapse before the next job is executed in microseconds',
'How much time should elapse before the next job is executed in milliseconds',
1000,
)
->addOption(
Expand Down

0 comments on commit 43f8f1f

Please sign in to comment.