Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
This repository was archived by the owner on May 7, 2024. It is now read-only.

Multiprocess help #7

Open
Open
@npcole

Description

@npcole

Thank you so much for this library, which is invaluable.

There is a small part of my code which needs to be executed using the multiprocess module and which will need database access within each process. Do you have any advice as to how to handle this? Is doing something like:

new_session = flask_scoped_session(app.session_factory, app)

at the top of the relevant function the right way to do it?

Best wishes,

Nicholas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions