Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: set don't reschedule flag in trydestroy
  • Loading branch information
perexg committed Sep 30, 2016
1 parent 371cf6d commit 2914ed3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dvr/dvr_db.c
Expand Up @@ -3636,6 +3636,7 @@ dvr_entry_trydestroy(dvr_entry_t *de)
else {
removal = (gclk() - (int64_t)de->de_stop)/(int64_t)86400;

de->de_dont_reschedule = 1;
de->de_removal = removal > DVR_RET_REM_DVRCONFIG ?
removal : DVR_RET_REM_1DAY; /* Update removal to the current value */
de->de_retention = de->de_config->dvr_retention_minimal; /* Update the retention to the minimum allowed value */
Expand Down

0 comments on commit 2914ed3

Please sign in to comment.