For a server hook if it is enabled and frequency set in the same command, the new set frequency takes effect from second cycle

Description

If I enable a sever periodic hook and set its frequency in the same command,
eg- sudo qmgr -c 'set pbshook PBS_est enabled = true, freq = 15', then the hook starts executing at frequency of 15 seconds from the second cycle.
For the first time the hook executes after the time set in the 'freq' previously, i.e before changing it to 15.
This is not observed in Mom Periodic hooks

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

tejas pai

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Affects versions

14.2.2

Priority

Low
Configure