Files
asterisk/include/asterisk
lvl 8d2558209b Introduce astcachedir, to be used for temporary bucket files
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, but leaves
it at /tmp by default, to ensure backwards compatibility.

A future commit that only targets master could change the default
location to something more sensible such as /var/tmp/asterisk. At
that point, the cachedir could be created and cleaned up during
uninstall by the Makefile script.

ASTERISK-29143

Change-Id: Ic54e95199405abacd9e509cef5f08fa14c510b5d
2020-12-09 13:06:27 -06:00
..
2015-04-11 19:43:43 -06:00
2020-06-10 13:56:45 -05:00
2017-12-20 12:40:01 -05:00
2017-12-20 12:40:01 -05:00
2013-08-22 18:52:41 +00:00
2017-12-20 12:40:01 -05:00
2017-05-30 15:10:20 -05:00
2012-08-30 14:23:28 +00:00
2018-03-19 18:00:20 -04:00
2015-07-07 21:31:49 -05:00
2018-04-20 12:50:03 +02:00
2015-05-19 21:11:21 -05:00
2020-08-13 06:34:45 -05:00
2017-12-20 12:40:01 -05:00
2016-07-22 10:09:08 +02:00
2020-03-26 07:44:29 -05:00
2019-02-07 08:23:04 -06:00
2015-05-19 21:11:21 -05:00
2017-05-30 15:10:20 -05:00
2015-05-19 21:11:21 -05:00
2020-10-12 10:50:10 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:31 -05:00