Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add warning about setting incorrect cache scheme and change t…
…he default cache scheme from "don't keep" to "system" to prevent crashes on some systems (fixes #3770)
  • Loading branch information
Mark Clarkstone authored and perexg committed Sep 3, 2016
1 parent 71899ab commit e02a5db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/property/cache_scheme.md
Expand Up @@ -7,6 +7,9 @@ means that there’s a disconnect when writing between the write request
(from the application) and the actual write itself (to the disc/storage)
as changes are buffered to be written in one go.

Warning, setting an incorrect scheme can lead to crashes. If you're
unsure select *System*.

Scheme | Description
-----------------------|------------
**Unknown** | A placeholder status, meaning that the configuration isn’t properly set.
Expand Down
2 changes: 1 addition & 1 deletion src/dvr/dvr_config.c
Expand Up @@ -190,7 +190,7 @@ dvr_config_create(const char *name, const char *uuid, htsmsg_t *conf)
cfg->dvr_cleanup_threshold_used = 0; // disabled

/* Muxer config */
cfg->dvr_muxcnf.m_cache = MC_CACHE_DONTKEEP;
cfg->dvr_muxcnf.m_cache = MC_CACHE_SYSTEM;

/* Default recording file and directory permissions */

Expand Down

0 comments on commit e02a5db

Please sign in to comment.