diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-06 15:57:08 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-06 16:08:49 +0200 |
| commit | 41b40e3d080e2b1f4ef5cba9426c71e1b59d4e52 (patch) | |
| tree | 6c4b6248c861857b45e0095aac9649967377c85e /docs/usage.xsl | |
| parent | 06ce1d512c96ee0b2be6c387123570f03798e133 (diff) | |
| download | rabbitmq-server-git-41b40e3d080e2b1f4ef5cba9426c71e1b59d4e52.tar.gz | |
Priority queue: Fix a crash when querying 'head_message_timestamp'
Before the fix, the code would consider it an integer which could be
summed. It crashed if the head message had no timestamp at all (the
underlying queue returned '').
Now, we have a special case, exactly like 'backing_queue_status'. The
code first finds a priority with queued messages, then it queries the
underlying queue for the 'head_message_timestamp'.
Fixes #245.
Diffstat (limited to 'docs/usage.xsl')
0 files changed, 0 insertions, 0 deletions
