Just tested the upgrade to kamailio 5.2.3 and in fact now both the parameters (latency_limit_db and latency_limit_action) expect a micro-seconds value. I suggest to leave the code as is and instead fix the documentation, currently it suggesting to use milli-seconds.
Thanks