Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

_insert_tasks should condition re-insertion based on Task.was_enqueued... #154

Open
jasonaguilon-wf opened this issue Sep 30, 2014 · 0 comments

Comments

@jasonaguilon-wf
Copy link
Contributor

...instead of trying to re-insert all tasks.

From Queue.add's docstring:

    If a list of more than one Tasks is given, a raised exception does not
    guarantee that no tasks were added to the queue (unless transactional is set
    to True). To determine which tasks were successfully added when an exception
    is raised, check the Task.was_enqueued property.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant