Sorry, I've found the answer in newer version of uac module doc. There is reg_gc_interval parameter to control this behavior.
I was looking at an older uac doc: 5.1.x.
Regards, Dmytro
On 2023-02-15 13:00, Dmytro M wrote:
When you do "kamcmd uac.reg_reload" frequently enough, you'll get an error:
# kamcmd uac.reg_reload error: 500 - Failed to shift records - check log messages
Logs:
ERROR: uac [uac_reg.c:416]: uac_reg_ht_shift(): shifting in-memory table is not possible in less than 150 secs
What is the reason behind 150 sec limitation for how frequent reloads can be done?
Is it configurable in any way?
Use case: Remote app needs to disable uac registration. It deletes record in DB and calls kamcmd uac.reg_reload to activate the change. With 150 sec limit it can't apply DB changes immediately.
Please advise.
Thanks, Dmytro