I find that this recipe keeps quite well for 4-5 days when stored in an airtight container in the refrigerator. If using gluten-free pasta, sometimes that doesn’t last quite as well, though I’ve had pretty good results with pasta that’s made from brown rice and quinoa rather than legume based pasta.