commit | 203845730ff3f3456698a497ab8fddec0faa6a50 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Sat Dec 25 19:28:44 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Sun Dec 26 09:40:48 2010 +0100 |
tree | d8faff6ce0f0799338a6d8aa64ecb9edf74ac890 | |
parent | f7e2389eb680b6459a20fb5ad6357d3d676705b2 [diff] |
sms: Rewrite the queue to find SMS harder. With the old code it was possible that we first saw SMS that we have already in the queue. In that case we had free slots available but have not filled them. With his new loop we try harder to find SMS we can send, it attempts (and should work) to detect a loop to break the loop before finding SMS to deliver.