Skip to content

Models: Remove dependency on API for sending results? #248

@wk9874

Description

@wk9874

Is your feature request related to a problem? Please describe.
It probably isn't ideal to have Ray having to do API requests to post samples / annotations since Ray must already have an open connection to the head node with db access...
Describe the solution you'd like
Could change this to have a long running process which monitors any tasks added to the TaskRegistry, doesd .wait() to see if they are done, and if they are get the results and add them to the db. This would also fix the issue with the unit tests we have currently, where after the removal of local mode the ray worker cant ping the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions