Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate single session queue item processing into its own class #5870

Closed
wants to merge 5 commits into from

Conversation

brandonrising
Copy link
Collaborator

@brandonrising brandonrising commented Mar 5, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No

Description

The current session queue processor combines managing the session queue and running a graph on each item into a single class. This PR separates the two concerns into their own Classes to remove the likelihood of editing one affecting the other. Also if anyone chooses to not use the default processor, they can do it without rewriting the logic that actually runs invocations.

QA Instructions, Screenshots, Recordings

Will update before converting to PR

Merge Plan

This PR can be merged when approved

Added/updated tests?

  • Yes
  • No : please replace this line with details on why tests
    have not been included

@github-actions github-actions bot added python PRs that change python files backend PRs that change backend files services PRs that change app services labels Mar 5, 2024
… doing, add before/after callbacks for sessions
…stract class for session runners, create path for passing in custom session runner to default session processor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files services PRs that change app services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants