When huge amount transactions come like today, txconfirmtarget=1 doesn't set enough fee to be confirmed in < 30 minutes.
How to set up fee automatically x2 from txconfirmarget=1 or something like that.
I don't think that that's something that's easily done effectively, and it's rather useless.
x2ing the fees when you're already paying the "expected" fees to get into the next block seems unnecessary? It's not like a block will be mined faster because of that.
If there is a sudden spike in transactions, it's usually smarter to set fees manually, as the dynamic allocator will usually either let you pay too much fees, or not enough.
Use a tool such as https://jochen-hoenicke.de/queue/#1,24h to check the mempool.