mirror of https://github.com/asterisk/asterisk
As described in the issue, /tmp is not a suitable location for a large amount of cached media files, since most distributions make /tmp a RAM-based tmpfs mount with limited capacity. I opted for a location that can be configured separately, as opposed to using a subdirectory of spooldir, given the different storage profile (transient files vs files that might stay there indefinitely). This commit just makes the cache directory configurable, and changes the default location from /tmp to /var/cache/asterisk. ASTERISK-29143 Change-Id: Ic54e95199405abacd9e509cef5f08fa14c510b5dpull/22/head
parent
c8b6340023
commit
b08427134f
@ -0,0 +1,9 @@
|
||||
Subject: Core
|
||||
|
||||
The location where the media cache stores its temporary files
|
||||
is no longer hardcoded to /tmp but can now be configured separately
|
||||
via the astcachedir config variable in asterisk.conf.
|
||||
|
||||
The default location for astcachedir is now /var/cache/asterisk
|
||||
instead of /tmp, please make sure to manually cleanup and/or
|
||||
migrate the temporary files in /tmp after upgrading.
|
Loading…
Reference in new issue