|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /usr/local/lib/python3.9/site-packages/celery/bin/__pycache__/ |
a
��Sh< � @ s� d Z ddlZddlmZ ddlmZmZmZ ddlm Z ej
ed�e�d�e�d�ejd d
ee
ddd
�ejddeeddd
�ejddedddd�ejddeddd�ejddeddd�ejddedddd�ejed d!� �����������ZdS )"zAThe ``celery migrate`` command, used to filter and move messages.� N)�
Connection)�
CeleryCommand�CeleryOption�handle_preload_options)�
migrate_tasks)�cls�source�destinationz-nz--limitzMigration OptionszNumber of tasks to consume.)r �type�
help_group�helpz-tz --timeoutz%Timeout in seconds waiting for tasks.z-az--ack-messagesTz Ack messages from source broker.)r Zis_flagr r z-Tz--tasksz List of task names to filter on.)r r r z-Qz--queueszList of queues to migrate.z-Fz --foreverz'Continually migrate tasks until killed.c s. � fdd�}t t|�t|�fd|i|�� dS )z�Migrate tasks from one broker to another.
Warning:
This command is experimental, make sure you have a backup of
the tasks before you continue.
c s&