Skip to content

PBS attempts to build execution plan for hooks from disabled modules #3748

@linux019

Description

@linux019

For testing purposes sometimes need to quickly disable or enable module. But when module is disabled PBS logs a
lot of warnings "Not found hook while building hook execution plan..." To supress this warning it needs to comment out all lines related to module in all hook sequences

hooks:
  enabled: true
  modules:
    vendor:
      module1:
         enabled: false

  host_execution_plan:
    endpoints:
      "/openrtb2/auction":
        stages:
          entrypoint:
            groups:
              timeout: 100 #ms
              hook_sequence:
                 - module_code: "vendor.module1"
                   hook_impl_code: "vendor.module1"

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions