Skip to content

[Bug]: GetProjectDetails is slow with larger numbers of image layers #68

Description

@calebrob6

Description

one thing that I've noticed during this Venezuela response is that GetProjectDetails starts to take a long time as the number of image layers increase. It is now at the point where it takes ~8 seconds for the "Train Model" dialog to popup from when you click the button, as it fires off that API call and waits for the response before it opens

Steps to Reproduce

Have a lot of ImageLayers then click the model train button

Expected Behavior

It to be near instant

Actual Behavior

It takes 8-10 seconds

Environment

haste prod

Logs / Stack Trace

Checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I have redacted any secrets, keys, or personal data from logs above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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