I'm not sure if this is in the right place, so please move it if needed.
I understand, and totally agree, that, after inviting someone to do something a number of times, and they always decline, you stop offering invites.
How many times do you try before you stop?
Does your answer change depending on circumstances? Why/why not? e.g., you recently moved and are trying to meet people, offering a meal after someone has a baby or operation, planning play dates for your kiddos
Does your answer change depending on the person? Why/why not? e.g., inlaws, extended family, spouse/SO's friends, kiddos' friends
I'd live to read people's responses and experiences. I often wonder if "this" should be my last time extending an invite and then second guess myself because maybe they had a really valid reason, especially since life in general seems to be so busy. Then again, I sometimes wish someone would get the hint when I say "no" so they would stop asking me to do something.