Don’t play with changing HTLC every time you see a movement from your channels!
Change them only once/day or even once/2-3 days.
Every change in your channel it have to be broadcast into gossip and also it increase your channel.db size.
max HTLC is also referring to a max size of a tx routed, but you can have for example a MPP (multi-part payment) so from a 500k payment, you got 10 txs x 50k sats.
I would strongly encourage all users to use MPP on any payment they do over 50k sats. That increase a lot the path finding and faster payments.
You should also change it only for those channels where you do not have enough sats on your side, when the channel is drained. All payments FROM that peer can come easily, no worry, your intention is to not redirect to that channel the payments that GO TO that peer, because you do not have enough sats.
What I was trying to do, is to observe first what is the average size of a tx routed through my channels and adjust that to max HTLC for each channel.
Let’s say I have a 999k sats max HTLC policy default for all channels, of course when most of the balance is on MY side.
But when the balance get’s lower than 1M sats on my side, I start splitting that max HTLC into small pieces. Let’s say I go for 200k. If i see that in bext days, that channel is still draining, I lower the max HTLC to 50k. Once is drained I set a max 1k sats and wait. In few days that channel start moving the other way around the sats, FROM the peer towards my side, through other channels, so gradually I increase also the max HTLC.
All depends of your peers habits, how they do the payments through you. Observe them.
The important key is that users get used to do MPP payments.