Skip to content

Commit

Permalink
fix(sigterm): remove sleep added for debug purpose (refs #59)
Browse files Browse the repository at this point in the history
  • Loading branch information
mborne committed Nov 16, 2023
1 parent 4529754 commit a068f70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ services:
#-----------------------------------------------------------------------
backend:
image: ignf/validator-api:master-dev
command: .docker/application.sh backend
command: ["/bin/bash","loop-validate.sh"]
environment:
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTPS_PROXY}
Expand Down
1 change: 0 additions & 1 deletion src/Validation/ValidationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public function archive(Validation $validation)
*/
public function processOne()
{
sleep(100);
$validation = $this->getValidationRepository()->popNextPending();
if (is_null($validation)) {
$this->logger->debug("processOne : no validation pending, quitting");
Expand Down

0 comments on commit a068f70

Please sign in to comment.