Skip to content

Commit

Permalink
unset host and id when releasing invalidations
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jan 27, 2025
1 parent 407d1a8 commit 98ffcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/DataAccess/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ private function getRemoveInvalidationsIdSitesClause($idSite)
public function releaseInProgressInvalidation($idinvalidation)
{
$table = Common::prefixTable('archive_invalidations');
$sql = "UPDATE $table SET status = " . ArchiveInvalidator::INVALIDATION_STATUS_QUEUED . ", ts_started = NULL WHERE idinvalidation = ?";
$sql = "UPDATE $table SET status = " . ArchiveInvalidator::INVALIDATION_STATUS_QUEUED . ", ts_started = NULL, processing_host = NULL, process_id = NULL WHERE idinvalidation = ?";
Db::query($sql, [$idinvalidation]);
}

Expand Down

0 comments on commit 98ffcb5

Please sign in to comment.