Re: routing to named SMSBOX issue
Ben Suffolk <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
> Hi Ben, > > I was just too lazy as I implemented this part :) > > The proper fix is to store List in the dict and then pick random box > after lookup. > > Huh and you spotted real bug that we loop over the whole smsbox > list. We should just pick the first that has queue not exceeded. > Something like attached patch. > > Thanks, > Alex > Alex, Do you want me to take a look at sorting a patch out for this? Ben