aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_redis.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2019-09-23Correctly handle unicode in log messagesEvgeny Khramtsov1-4/+4
2019-07-16Fix typos using codespellEvgeny Khramtsov1-1/+1
2019-06-28Avoid using broad p1_queue:queue() type wherever possibleEvgeny Khramtsov1-3/+4
2019-06-27Avoid using broad map() type wherever possibleEvgeny Khramtsov1-1/+2
2019-06-24Make logging messages more consistentEvgeny Khramtsov1-5/+5
2019-06-14Use new configuration validatorEvgeny Khramtsov1-22/+25
2019-02-27Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski1-2/+2
Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent.
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-12-13Add code for handling deprecations of get_stacktrace()Paweł Chmielowski1-2/+3
2018-07-15Require Redis version >= 3.2.0Evgeniy Khramtsov1-1/+20
Since we now use Lua scripting for cleaning up c2s sessions the minimum supported Redis version is 3.2.0 or above because we need to work correctly with Redis replication mechanism. ****** BACKWARD INCOMPATIBILITY WARNING ******* ** THIS SHOULD BE ADDED TO THE RELEASE NOTES ** *** PACKAGE MAINTAINERS SHOULD BE INFORMED *** ***********************************************
2018-07-14Clean up contributed code for Redis SMEvgeniy Khramtsov1-1/+19
2018-07-05Move move randoms module to p1_utils repoEvgeniy Khramtsov1-2/+2
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov1-1/+0
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-10-03Increase 'max_fsm_queue' defaultHolger Weiss1-1/+1
The old default was becoming too small for some workloads.
2017-04-29Don't validate an option in ejabberd_config:get_option() functionsEvgeniy Khramtsov1-30/+8
The commit introduces the following changes: * Now there is no need to pass validating function in ejabberd_config:get_option() functions, because the configuration keeps already validated values. * New function ejabberd_config:get_option/1 is introduced * Function ejabberd_config:get_option/3 is deprecated. If the function is still called, the second argument (validating function) is simply ignored. * The second argument for ejabberd_config:get_option/2 is now a default value, not a validating function.
2017-04-23Use round-robin algorithm when selecting worker from DB poolEvgeniy Khramtsov1-1/+1
2017-04-14Use cache in front of Redis/SQL RAM backendsEvgeniy Khramtsov1-17/+100
2017-04-11Rename aux.erl as misc.erl17.04Christophe Romain1-3/+3
Thanks Microsoft Windows to not support some filenames
2017-04-07Improve logging of Redis errorsEvgeniy Khramtsov1-5/+29
2017-04-06Improve type specs and return valuesEvgeniy Khramtsov1-13/+33
2017-04-06Add Redis pool supportEvgeniy Khramtsov1-115/+153
Fixes #1624
2017-04-02Improve redis related codeEvgeniy Khramtsov1-11/+122
2017-03-31Add Redis as mod_proxy65 RAM backendEvgeniy Khramtsov1-0/+123
2017-03-28Add Redis as router RAM backendEvgeniy Khramtsov1-2/+2
2017-02-24Improve startup procedureEvgeniy Khramtsov1-35/+42
2017-02-23Start/stop virtual hosts when reloading configuration fileEvgeniy Khramtsov1-5/+20
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-12-27Cleanup file headersChristophe Romain1-6/+22
2016-05-09Handle Redis connection in a separate moduleEvgeniy Khramtsov1-0/+179