Skip to content

[FEATURE] Change trigger when functionRepository created #944

Closed

Description

@Yury-Fridlyand

Is your feature request related to a problem?

functionRepository created on execution of the each query. For the first query on the current server run this creates a significant lag in ~3-5 seconds regardless of query complexity. The delay grows along with amount of functions implemented.

What solution would you like?

N/A

What alternatives have you considered?

N/A

Do you have any additional context?

The task is to define another trigger when SQL plugin should build the repository.

  • Do it once
  • Decide when to do
    • on init?
    • in background after init?
  • When and how to re-init a repository (consider a new function repository added/updated in runtime)

Activity

  1. added
    enhancement
    on Oct 20, 2022
  2. added
    maintenance
    and removed
    enhancement
    on Oct 28, 2022
  3. dai-chen commented on Oct 28, 2022

    @dai-chen
    Collaborator

    It may be helpful that we avoided creating Spring container per request in #822. On the safe side, it was merged to maximus-m1 feature branch. If no issue, it will be merged to 2.x in future. Thanks!

  4. dai-chen commented on Dec 14, 2022

    @dai-chen
    Collaborator

    Changes in #822 is already merged to main and 2.x branch. Thanks!

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

    maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions