Skip to content

Commit

Permalink
don't delay async handling artificially
Browse files Browse the repository at this point in the history
  • Loading branch information
makomweb committed Jun 18, 2021
1 parent 8bdee8e commit 944f63b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Sequence-Diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/MessageHandler/FileUploadMessageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(string $uploadDir,
public function __invoke(FileUploadMessage $message)
{
// Fake being busy - resizing is very fast.
sleep(2); // 2 s
//sleep(2); // 2 s

// fetch entity
$entity = $this->repository->find($message->getId());
Expand Down

0 comments on commit 944f63b

Please sign in to comment.