Delay when using RC:set_overide

when using RC:set_override in a lua script, the channel starts repeating the signal from the remote control, only after 3 seconds, how can I fix this delay

The override state is temporary by design. Repeatedly send the override command if you want it to be persistent.

Check for RC_OVERRIDE_TIME setting

thank you for helping