Skip to content
Permalink
Browse files

Fixes.

  • Loading branch information...
corpsee committed Jun 19, 2018
1 parent cf18d17 commit e94027e00676a0e1df4f52f13b11427a8809b6c8
Showing with 4 additions and 3 deletions.
  1. +2 −2 LICENSE
  2. +2 −1 src/Command/RunCommand.php
@@ -1,7 +1,7 @@
Copyright (c) 2016, PHP Censor
Copyright (c) 2016, PHP Censor
All rights reserved.

Copyright (c) 2013, PHPCI, Block 8 Limited
Copyright (c) 2013, PHPCI, Block 8 Limited
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -155,7 +155,7 @@ protected function validateRunningBuilds()
/** @var \PHPCensor\Model\Build $build */
$build = BuildFactory::getBuild($build);
$now = time();
$now = time();
$start = $build->getStartDate()->getTimestamp();
if (($now - $start) > $timeout) {
@@ -164,6 +164,7 @@ protected function validateRunningBuilds()
$build->setFinishDate(new \DateTime());
$store->save($build);
$build->removeBuildDirectory(true);
continue;
}

0 comments on commit e94027e

Please sign in to comment.
You can’t perform that action at this time.