mod_storage_internal
Internal file-based storage provider.
Details
mod_storage_internal is Prosody’s default storage provider. It stores data as text files in the data directory.
Usage
In your config file:
= "internal" storage
Limits
Archives scale linearly and are limited to 10 000 items. Larger archives may cause more memory usage and poor performance. Very large archives may even fail to be read.
Configuration
This module honours the global config option data_path
,
which defaults to an appropriate path for your system, typically
/var/lib/prosody
on Linux-based platforms.
Advanced
These settings may affect performance. Use with care.
Setting | Type | Default | Description |
---|---|---|---|
storage_archive_item_limit |
Number | 10000 |
Limit on number of archive items. |
storage_archive_item_limit_cache_size |
Number | 1000 |
Size of cache that stores number of items in archive stores |
storage_archive_experimental_fast_delete |
Boolean | false |
Setting to enable experimental feature |