Skip to content

Commit

Permalink
CLI: Correct verdi devel rabbitmq tasks revive docstring (#6031)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx committed May 21, 2023
1 parent b2351a0 commit 13cadd0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aiida/cmdline/commands/cmd_rabbitmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,12 @@ def cmd_tasks_revive(processes, force):
1. Does ``verdi status`` indicate that both daemon and RabbitMQ are running properly?
If not, restart the daemon with ``verdi daemon restart --reset`` and restart RabbitMQ.
2. Try ``verdi process play <PID>``.
If you receive a message that the process is no longer reachable, use ``verdi devel revive <PID>``.
If you receive a message that the process is no longer reachable,
use ``verdi devel rabbitmq tasks revive <PID>``.
Details: When RabbitMQ loses the process task before the process has completed, the process is never picked up by
the daemon and will remain "stuck". ``verdi devel revive`` recreates the task, which can lead to multiple instances
of the task being executed and should thus be used with caution.
the daemon and will remain "stuck". ``verdi devel rabbitmq tasks revive`` recreates the task, which can lead to
multiple instances of the task being executed and should thus be used with caution.
"""
from aiida.engine.processes.control import revive_processes

Expand Down

0 comments on commit 13cadd0

Please sign in to comment.