Ë
    —V.j<  ã                   ó*  — d Z ddlZddlmZ ddlmZmZmZ ddlm	Z	  ej                  e¬«       ej                  d«       ej                  d«       ej                  d	d
eedd¬«       ej                  ddeedd¬«       ej                  ddeddd¬«       ej                  ddedd¬«       ej                  ddedd¬«       ej                  ddeddd¬«      ej                  ed „ «       «       «       «       «       «       «       «       «       «       «       Zy)!zAThe ``celery migrate`` command, used to filter and move messages.é    N)Ú
Connection)ÚCeleryCommandÚCeleryOptionÚhandle_preload_options)Úmigrate_tasks)ÚclsÚsourceÚdestinationz-nz--limitzMigration OptionszNumber 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   Úis_flagr   r   z-Tz--tasksz List of task names to filter on.)r   r   r   z-Qz--queueszList of queues to migrate.z-Fz	--foreverz'Continually migrate tasks until killed.c                 óR   ‡ — ˆ fd„}t        t        |«      t        |«      fd|i|¤Ž y)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                 óv   •— ‰j                   j                  d| j                  › d| j                  › d|› �«       y )NzMigrating task Ú/z: )ÚobjÚechoÚcountÚstrtotal)ÚstateÚbodyÚmessageÚctxs      €úTC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\celery/bin/migrate.pyÚon_migrate_taskz migrate.<locals>.on_migrate_task9   s/   ø€ Ø�‰�‰� u§{¡{ m°1°U·^±^Ð4DÀBÀtÀfÐMÕNó    ÚcallbackN)r   r   )r   r	   r
   Úkwargsr   s   `    r   Úmigrater   	   s5   ø€ ô`Oô ”*˜VÓ$Ü˜[Ó)ñà*ðð ór   )Ú__doc__ÚclickÚkombur   Úcelery.bin.baser   r   r   Úcelery.contrib.migrater   ÚcommandÚargumentÚoptionÚintÚfloatÚpass_contextr   © r   r   Ú<module>r,      sQ  ðÙ GÛ Ý ç OÑ OÝ 0ð €‡��=Ô!Ø€‡��ÓØ€‡��ÓØ€‡�ˆdØØØØ,Ø0ô2ð €‡�ˆdØØØØ,Ø:ô<ð €‡�ˆdØØØØ,Ø5ô7ð €‡�ˆdØØØ,Ø5ô	7ð
 €‡�ˆdØØØ,Ø/ô	1ð
 €‡�ˆdØØØØ,Ø<ô>ð ×ÑØñó ó ó>ó1ó7ó7ó<ó2ó ó ó "ñNr   