Skip to content

precompiled trigger support #42

@niallroche

Description

@niallroche

A suggested improvement to the performance of TemplateArchiveProcessor is to add a separate compile step. While each trigger requires compilation of involving agreement-specific data, there is additional overhead in doing this every time the agreement is triggered. With this suggested logic added the trigger call can optionally skip the precompile step in cases where the code has not changed and has already been compiled. The output of the compilation could be stored for later use and passed as a param when triggering. This could give some flexibility around when the compile happens always at runtime, or if it can be done once on first trigger and then cached, or if this could be done on agreement creation, or possibly at some later APAP event such as an agreement has been signed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions