PPPOE lcp reconnect

Hello! I have a pppoe connection, where my ISP disconnect automatically after 168 hours. When this happens the reconnection is very slow 30-40 sec, I have another service from the same ISP with pfSense, where this reconnection is only 4-5 sec. What can cause that the reconnection on the opeWrt is so slow?

You have some keepalive settings. It must fail and expire to be considered as broken and reconnect.

Try option keepalive '3 1' for example.