summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge defaultSimon MacMullen2013-04-162-19/+54
|\
| * merge default into bug25191Matthias Radestock2013-01-101-11/+9
| |\ | | | | | | | | | and some tiny refactoring
| * | send connection.{blocked,unblocked}Matthias Radestock2013-01-102-19/+55
| | |
* | | Merge bug25519.Simon MacMullen2013-04-101-1/+1
|\ \ \
| * | | Allow use of esl-erlangSimon MacMullen2013-04-101-1/+1
|/ / /
* | | Merged stable into defaultEmile Joubert2013-04-1070-2005/+3737
|\ \ \
| * \ \ merge bug25487 into defaultTim Watson2013-04-051-2/+10
| |\ \ \
| | * | | client_sup API changeEmile Joubert2013-04-051-2/+4
| | | | |
| | * | | merge default into bug25487Tim Watson2013-04-051-2/+8
| | |\ \ \ | |/ / / /
| | * | | Change client_sup APIEmile Joubert2013-04-043-13/+15
| | | | |
| | * | | rabbit_client_sup accepts supervision optionsEmile Joubert2013-03-143-8/+12
| | | | |
| * | | | Merged bug25499 into defaultEmile Joubert2013-03-272-2/+14
| |\ \ \ \
| | * | | | Check if the rabbit process is running and thus avoid deadlocks in the ↵Simon MacMullen2013-03-222-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | application controller.
| | * | | | Merge in default.Simon MacMullen2013-03-2212-306/+436
| | |\ \ \ \
| * | \ \ \ \ Merged bug25491 into defaultEmile Joubert2013-03-2719-397/+732
| |\ \ \ \ \ \
| | * \ \ \ \ \ Merge bug24114 into defaultEmile Joubert2013-03-260-0/+0
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merged default into bug24114Emile Joubert2013-03-2549-743/+1583
| | |\ \ \ \ \ \ \ | | | |/ / / / / /
| | | * | | | | | merge bug23749 into defaultMatthias Radestock2013-03-225-62/+255
| | | |\ \ \ \ \ \ | | | | |_|/ / / / | | | |/| | | | |
| | | | * | | | | Update essay for credit (and fix a few typos I couldn't be bothered to ↵Simon MacMullen2013-03-221-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | separate out).
| | | | * | | | | Move serial arithmetic out of the broker.Simon MacMullen2013-03-222-75/+0
| | | | | | | | |
| | | | * | | | | get rid of unused importsMatthias Radestock2013-03-211-2/+0
| | | | | | | | |
| | | | * | | | | fix typoMatthias Radestock2013-03-211-1/+1
| | | | | | | | |
| | | | * | | | | cosmetic(ish)Matthias Radestock2013-03-212-14/+11
| | | | | | | | |
| | | | * | | | | re-introduce state-transition optimisation for possibly_unblockMatthias Radestock2013-03-211-23/+27
| | | | | | | | |
| | | | * | | | | Merge in defaultSimon MacMullen2013-03-219-42/+81
| | | | |\ \ \ \ \
| | | | * \ \ \ \ \ Merge bug23749+bug25461 into bug23749Simon MacMullen2013-03-210-0/+0
| | | | |\ \ \ \ \ \
| | | | * | | | | | | suspended =/= has run out of credit.Simon MacMullen2013-03-211-1/+1
| | | | | | | | | | |
| | | | * | | | | | | Cosmetic, reduce distance to bug25461, remove dead commentSimon MacMullen2013-03-212-16/+11
| | | | | | | | | | |
| | | | * | | | | | | oopsSimon MacMullen2013-03-211-1/+1
| | | | | | | | | | |
| | | | * | | | | | | Merge the two can_sends and tidy up.Simon MacMullen2013-03-212-42/+25
| | | | | | | | | | |
| | | | * | | | | | | First attempt at merging these two bugs; this compiles at least.Simon MacMullen2013-03-209-50/+362
| | | | |\ \ \ \ \ \ \ | | | | | |/ / / / / /
| | | | | * | | | | | Merge in defaultSimon MacMullen2013-03-206-53/+322
| | | | | |\ \ \ \ \ \
| | | | | | * \ \ \ \ \ merge default into bug23749Matthias Radestock2013-02-210-0/+0
| | | | | | |\ \ \ \ \ \
| | | | | | * | | | | | | Well, that was embarassing.Simon MacMullen2013-02-211-1/+1
| | | | | | | | | | | | |
| | | | | | * | | | | | | simplifying refactorMatthias Radestock2013-02-211-12/+12
| | | | | | | | | | | | |
| | | | | | * | | | | | | Correct use of gb_trees APIs...Simon MacMullen2013-02-211-12/+6
| | | | | | | | | | | | |
| | | | | | * | | | | | | OopsSimon MacMullen2013-02-211-14/+7
| | | | | | | | | | | | |
| | | | | | * | | | | | | Use gb_trees rather than dict for performance.Simon MacMullen2013-02-211-15/+21
| | | | | | | | | | | | |
| | | | | | * | | | | | | Remove blocked_ctags, and a few knock-on simplifications.Simon MacMullen2013-02-212-39/+24
| | | | | | | | | | | | |
| | | | | | * | | | | | | simplify queue's basic_consume handlerMatthias Radestock2013-02-211-15/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - the call to update_ch_record in the is_ch_blocked(C1) == false branch was superfluos since the preceding update_consumer_count calls update_ch_record - all the checking whether the channel is blocked, and associated branching was just an optimisation. And not a particularly important one, since a) the "a new consumer comes along while its channel is blocked" case is hardly on the critical path, and b) exactly the same check is performed as part of run_message_queue (in deliver_msg_to_consumer/3). So get rid of it. - the is_empty & send_drained logic can be invoked earlier, which allows us to use the #cr we have rather than looking it up again. We can do this since the only case we need to catch here is that of a consumer coming along while the queue is empty already. If it becomes empty as part of run_message_queue then send_drained will be invoked in 'fetch'.
| | | | | | * | | | | | | merge default into bug23749Matthias Radestock2013-02-201-1/+1
| | | | | | |\ \ \ \ \ \ \
| | | | | | * | | | | | | | optimise possibly_unblockMatthias Radestock2013-02-201-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the channel is blocked there is no point going through the expensive consumer re-partitioning
| | | | | | * | | | | | | | refactorMatthias Radestock2013-02-201-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it's convenient for callers to have maybe_send_drained thread through the state
| | | | | | * | | | | | | | cosmetic - reduce distance to 'default'Matthias Radestock2013-02-201-20/+17
| | | | | | | | | | | | | |
| | | | | | * | | | | | | | oopsMatthias Radestock2013-02-201-1/+1
| | | | | | | | | | | | | |
| | | | | | * | | | | | | | cosmeticMatthias Radestock2013-02-201-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | move functions to a better place
| | | | | | * | | | | | | | merge default into bug23749Matthias Radestock2013-02-201-2/+2
| | | | | | |\ \ \ \ \ \ \ \
| | | | | | * | | | | | | | | get rid of maybe_send_drained_consMatthias Radestock2013-02-201-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and optimise handle_cast/credit along the way
| | | | | | * | | | | | | | | refactor possibly_unblockMatthias Radestock2013-02-201-18/+19
| | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | introduce is_empty(State) helperMatthias Radestock2013-02-201-20/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and in the resulting refactor also remove a non-linear BQS access in handle_info/drop_expired.