| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
References #233.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It will require all consumers of eg. events to be updated. But this is a
good occasion anyway to change the exposed timestamp format to something
pushed by the new Time API.
Comparisons and calculations are much simpler because the new format is
a simple integer.
The resolution is a millisecond, not a microsecond, because current
consumers of these timestamps do calculations in milliseconds.
References #233.
|
| |
|
|
| |
References #233.
|
| |
|
|
|
|
|
|
|
|
|
| |
Up-to and including Erlang 17, `global` would use `erlang:now()` to tag
messages in the process dictionary. In Erlang 18.0, it uses a unique
integer, so we can't use this value to determine for how long messages
are stuck in the dictionary.
We now do two snapshots of the dictionary and compare them.
References #233.
|
| |
|
|
| |
References #233.
|
| |
|
|
|
|
| |
... or compared to time values from outside.
References #233.
|
| |
|
|
| |
References #233.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... not `erlang:now()` (deprecated) or `os:timestamp()` (which could go
backward).
file_handle_cache:
While here, change the LRU tree key from `erlang:now()` to a
combination of the monotonic time and the handle reference (which
was the value in the tree previously). This is required as the
monotonic time doesn't increase strictly: two subsequent calls
could return the same time, leading to non-unique key. We could use
unique_integer([monotonic]) but it's a bit heavy weight just to keep
a rough order of opened files. So now, files sharing the same age
are arbitrary "sorted" by their reference.
References #233.
|
| |
|
|
| |
References #233.
|
| |
|
|
|
|
|
|
|
| |
This module, obtained from Erlang 18.0 ERTS examples, allows to use the
new Time and Time Correction API introduced in Erlang 18.0 and fallback
to the old API (the deprecated `erlang:now()`) when running on older
Erlang.
References #233.
|
| |\ |
|
| | |
| |
| |
| | |
References #250.
|
| |\ \ |
|
| | |\ \
| | | |
| | | | |
Memory monitor: Log a warning if a 32-bit version of Erlang is used
|
| | |/ /
| | |
| | |
| | | |
Fixes #251.
|
| |\ \ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Erlang R16B03 is the version provided with Ubuntu 14.04 LTS and
CentOS 7. This should avoid some pain to those users.
However, we will highly recommend Erlang 17.0 for any serious TLS
deployment.
References #250.
|
| |\ \ \
| |/ /
| | | |
Require Erlang R16B03-1
|
| |/ /
| |
| |
| | |
Fixes #250.
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Renames rabbit.queue_master_location config key to rabbit.queue_master_locator
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Renames functions
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove validate_policy callback from queue location behaviour
Create seperate queue location policy validation module
Delete function, delay_ms/1. Unused
Remove functions not used by other modules from export
Update coding style and header to GoPivotal Inc standards
References #121.
|
| | | |
| | |
| | |
| | | |
References #121
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Support the new `ssl:connection_information/{1,2}` API
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A new module, `ssl_compat`, is added. It provides a wrapper around
`ssl:connection_information/{1,2}` which is introduced in Erlang
18.0. If this API is unavailable, it falls back to the deprecated
`ssl:connection_info/1`.
Use this module in `rabbit_net:ssl_info/1`. As a consequence, the return
value changes, so update `rabbit_reader:ssl_info/2` accordingly.
Fixes #246.
|
| |\ \ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | | |
The variable was left unused after the fix to #224.
|
| | |\ \
| | | |
| | | | |
Fixes a logic problem with NODE_IP_ADDRESS and NODE_PORT in rabbitmq-env.bat.
|
| | | | |
| | | |
| | | | |
Fixes the logic for NODE_IP_ADDRESS and NODE_PORT. First, check for the existence of the environment variable, then the definition if set via conf file, then proceed with the original logic on setting the IP/Port variables.
|
| |\ \ \ \
| |/ / / |
|
| | | | |
| | | |
| | | | |
Added a missing backslash.
|
| | | | |
| | | |
| | | | |
Added quotes around the call for the !RABBITMQ_CONF_ENV_FILE! file.
|
| | |/ /
| | |
| | | |
Added the prefix `RABBITMQ_` to `CONF_ENV_FILE` since it can't be overridden from the file anyways. Updated the default path to `!RABBITMQ_BASE!` so it'll default to that path if only the Base is overridden or go to the same `!APPDATA!` path if not.
|
| |\ \ \
| | | |
| | | | |
Modify the default path of RABBITMQ_CONF_ENV_FILE within rabbitmq-defaults.bat
|
| | | | |
| | | |
| | | | |
Added a missing backslash.
|
| | | | |
| | | |
| | | | |
Added quotes around the call for the !RABBITMQ_CONF_ENV_FILE! file.
|
| |/ / /
| | |
| | | |
Added the prefix `RABBITMQ_` to `CONF_ENV_FILE` since it can't be overridden from the file anyways. Updated the default path to `!RABBITMQ_BASE!` so it'll default to that path if only the Base is overridden or go to the same `!APPDATA!` path if not.
|
| |\ \ \
| |/ / |
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | | |
References #224.
|