yeah, no shit that function doesn't do exactly once delivery. No, I'm not going to just fix that in a few lines of code today.
Yes, I know the other guy promised to fix it to do that. he's paid by the hour, and he put in a check. that's the code that I'm looking at, which failed when there was a DB timeout and didn't deliver at all. #messageQueue