Skip to content

refactor session management for harvester #6253

Description

@rshewitt

User Story

In order to reduce waste of db resources, datagov wants to refactor how db sessions are managed in harvester

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN the places where db operations occur (e.g. load manager, flask app, harvester, etc...)
    AND a db session is required to perform those operations
    WHEN the refactor happens
    THEN each entity performing db operations manages its own db session and lifecycle
    [AND optionally another verifiable outcome]

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions