| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Previously to check if hibernated room was old enough we had to fetch info
about all rooms from database. Now we repurpose created_at field in sql
to store that info, that allow us to have more efficient query just for it.
|
| |
|
| |
|
|
|
|
| |
Reference: https://github.com/processone/ejabberd/commit/95fa43aa96514b7e8b77fa7c29d2c0b5b1c1331a#r54157330
|
|
|
|
|
|
|
| |
* Update mysql.new.sql
scram-sha512 does not work, because serverkey is longer, then that array. All passwords was unhashed.
* Update mysql.sql
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix specified key was too long
This adds the correct engine and sets it to utf8mb4 collate. Prevents "Specified key was too long; max key length is 1000 bytes" from happening.
* Make two import SQL files consistent
As suggested by @prefiks
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Indexes are done only on 191 byte slice of that (to fit in index limits),
and since server_host could theoretically be bigger this causes mysql
engine don't use indexes in full potential.
|
| |
|
|
|
|
|
| |
For PEP nodes, the "host" column holds the user JID, where the first 20
characters may well not be unique.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Note that support for older specification is completely dropped,
i.e. no backward compatibility is provided since the XEPs are
still very experimental and being changed drastically
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Accordingly, Mnesia/SQL/Riak table 'carboncopy' is not used anymore
and can be safely removed.
As a consequence, the commit deprecates the following options of
mod_carboncopy:
- ram_db_type
- use_cache
- cache_size
- cache_missed
- cache_life_time
Fixes #2663
|
|
|
|
|
| |
Let MySQL/MariaDB accept PubSub payloads with a size of up to 16 MiB,
rather than truncating at 64 KiB.
|
|
|
|
|
| |
Let MySQL/MariaDB accept message stanzas with a size of up to 16 MiB,
rather than truncating at 64 KiB.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The username is available for all MAM queries in question, and adding it
to the indexes can improve the lookup performance significantly.
|
| |
|
|
|