Generally snakes are good at judging how big is too big and won't go after it (or will strike defensively), but sometimes they will start trying to eat and then change their minds. Then you end up with a gross dead rodent and a snake with a sore throat who needs to avoid eating until it's had time to heal, so it's best for you to offer only appropriate-sized prey to begin with.