You cook pasta in a pressure cooker for 24 minutes? I thought pressure cookers decreased cooking time and the longest cooking time I've ever encountered for pasta is 17 minutes.
I cook a LOT in my Instantpot. Rice button sets for 12 mins after it gets up to pressure, so its ~30 mins to said rice - however, I usually just leave it in while I cook the other things - and typically its been an hour that the rice is done and just sitting there waiting to be eaten.
FYI - if you dont yet have an instant pot, it will change your cooking life.
Get one.