<p dir="auto">The documentation says very little about the <code class="notranslate">priority</code> attribute:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="priority (int): The task priority, a number between 0 and 9.
  Defaults to the :attr:`priority` attribute."><pre class="notranslate"><code class="notranslate">priority (int): The task priority, a number between 0 and 9.
  Defaults to the :attr:`priority` attribute.
</code></pre></div>
<p dir="auto">If you go to the bottom of the following page - <a href="http://docs.celeryproject.org/en/latest/userguide/calling.html" rel="nofollow">http://docs.celeryproject.org/en/latest/userguide/calling.html</a> - you will see:</p>
<blockquote>
<p dir="auto">priority<br>
A number between 0 and 255, where 255 is the highest priority.</p>
<p dir="auto">Supported by: RabbitMQ, Redis (priority reversed, 0 is highest).</p>
</blockquote>
<p dir="auto">So please clarify (and update the documentation):</p>
<ul dir="auto">
<li>Which of these documents are telling the right information - the (current) source code, or the docs.celeryproject.org ?</li>
<li>How are priorities ordered - does priority=0 mean highest priority, or not? Or it depends on the backend, as the docs page says...</li>
</ul>
<p dir="auto">Related StackOverflow question: <a href="https://stackoverflow.com/questions/49319834/could-someone-please-clarify-the-task-priority-usage-in-celery-tasks" rel="nofollow">https://stackoverflow.com/questions/49319834/could-someone-please-clarify-the-task-priority-usage-in-celery-tasks</a></p>
<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Enhancement%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical enhancement to an existing feature.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Issue+Type%3A+Enhancement%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed enhancements.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the if the same enhancement was already implemented in the<br>
master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue<br>
(If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Brief Summary</h1>

<p dir="auto">Unfortunately Riak's development is discontinued.<br>
Last <a href="https://github.com/basho/riak-python-client/commit/91de13a16607cdf553d1a194e762734e3bec4231">commit</a> on the python client's repository was 3 years ago.<br>
The Python client doesn't support Python versions &gt; 3.6 which is a problem for us.<br>
We need to deprecate it and remove it from the codebase.</p>
<h1 dir="auto">Design</h1>
<p dir="auto">The first step is to issue a deprecation warning to all of the Riak backend users.<br>
I suspect there aren't many.<br>
The second step is to remove the backend entirely.</p>
<h2 dir="auto">Architectural Considerations</h2>

<p dir="auto">None</p>
<h2 dir="auto">Proposed Behavior</h2>

<p dir="auto">N/A</p>
<h2 dir="auto">Proposed UI/UX</h2>

<p dir="auto">A <code class="notranslate">DeprecationWarning</code> will be printed to the users.</p>
<h2 dir="auto">Diagrams</h2>

<p dir="auto">N/A</p>
<h2 dir="auto">Alternatives</h2>

<p dir="auto">None</p>