Skip to content

Commit

Permalink
Revert "DFS: Cache gen. timeout check only when needed (#1436)"
Browse files Browse the repository at this point in the history
This reverts commit 98b8f48.
  • Loading branch information
glye committed Jul 12, 2019
1 parent 98b8f48 commit 50c046f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1371,12 +1371,6 @@ public function abortCacheGeneration()
*/
public function checkCacheGenerationTimeout()
{
if ( $this->generationStartTimestamp === false )
{
eZDebug::writeError( "Cache generation has not started, cannot check timeout", 'cluster.log' );
return true;
}

eZDebugSetting::writeDebug( 'kernel-clustering', 'Checking cache generation timeout', "dfs::checkCacheGenerationTimeout( '{$this->filePath}' )" );
return self::$dbbackend->_checkCacheGenerationTimeout( $this->filePath, $this->generationStartTimestamp );
}
Expand Down

0 comments on commit 50c046f

Please sign in to comment.