How to increase the swap file size on Home Assistant OS

I have been using the increase swapfile on my RPI3B+ for past year. Was talking with @in2deep over at https://community.home-assistant.io/t/home-assistant-keeps-crashing/443119/9 about the risks to the SSD. I’m happy to put a bit of wear on my SSD ( and continue to use my 3B+) but have you any thoughts on it.