| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Set is the default | Ben Hood | 2008-10-13 | 1 | -1/+0 |
| | | |||||
| * | Changed index from ordered_set to set for durable routes | Ben Hood | 2008-10-13 | 1 | -1/+1 |
| | | |||||
| * | maybe_auto_delete should always return ok | Matthias Radestock | 2008-10-12 | 1 | -1/+2 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2008-10-12 | 1 | -6/+3 |
| | | |||||
| * | some minor formatting fixes | Matthias Radestock | 2008-10-12 | 1 | -4/+4 |
| | | |||||
| * | refactoring: never construct reverse routes/bindings directly | Matthias Radestock | 2008-10-12 | 1 | -6/+7 |
| | | |||||
| * | fix indentation and comments | Matthias Radestock | 2008-10-12 | 1 | -68/+57 |
| | | |||||
| * | inline delete_bindings/1 | Matthias Radestock | 2008-10-12 | 1 | -30/+22 |
| | | | | | | and also refactor indexed_delete to use a list comprehension instead of lists:foreach and return 'ok'. | ||||
| * | rejig call_with_exchange | Matthias Radestock | 2008-10-12 | 1 | -15/+14 |
| | | | | | | | | | | | We don't really need two flavours of call_with_exchange. In delete_bindings/1 we can assume the exchange exists - this code is called as part of queue deletion and we don't care about exchanges that have gone missing. Also, it is sufficient to use an ordinary read rather than wread. | ||||
| * | Removed superfluous comment | Ben Hood | 2008-10-11 | 1 | -3/+0 |
| | | |||||
| * | Don't hassle the HOF | Ben Hood | 2008-10-11 | 1 | -10/+8 |
| | | |||||
| * | Reinstated list_exchange_bindings/1 | Ben Hood | 2008-10-10 | 1 | -2/+21 |
| | | |||||
| * | Changed select for has_bindings into a continuation | Ben Hood | 2008-10-10 | 1 | -3/+8 |
| | | |||||
| * | Refactored all of the exchange delete functions | Ben Hood | 2008-10-10 | 1 | -69/+57 |
| | | |||||
| * | Default binding should be restored in exchange module | Ben Hood | 2008-10-10 | 1 | -7/+3 |
| | | |||||
| * | Simplified has_bindings because it only needs to do simple select and count | Ben Hood | 2008-10-08 | 1 | -16/+10 |
| | | |||||
| * | Brought forwards delete function into loop to avoid delete_object wildcard ↵ | Ben Hood | 2008-10-07 | 1 | -6/+6 |
| | | | | | issue when it is fixed in OTP | ||||
| * | Fixes for dialyzer | Ben Hood | 2008-10-06 | 2 | -5/+5 |
| | | |||||
| * | Merged default into 18776 | Ben Hood | 2008-10-06 | 7 | -75/+97 |
| |\ | |||||
| | * | merge bug19485 into default | Hubert Plociniczak | 2008-10-05 | 1 | -19/+18 |
| | |\ | |||||
| | | * | propagate channel/connection errors when in closing state | Matthias Radestock | 2008-10-03 | 1 | -19/+18 |
| | | | | |||||
| | * | | Merged bug19219 into default | Ben Hood | 2008-10-04 | 2 | -50/+63 |
| | |\ \ | | |/ | |/| | |||||
| | | * | cosmetic refactoring | Matthias Radestock | 2008-10-01 | 1 | -7/+7 |
| | | | | |||||
| | | * | oops | Matthias Radestock | 2008-09-30 | 1 | -1/+1 |
| | | | | |||||
| | | * | modulate gen_server:call timeout when doing work in parallel | Matthias Radestock | 2008-09-30 | 2 | -50/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we fire off lots of gen_server:calls in parallel, we may create enough work for the VM to cause the calls to time out - since the amount of work that can actually be done in parallel is finite. The fix is to adjust the timeout based on the total workload. Alternatively we could not have any timeout at all, but that is bad Erlang style since a small error somewhere could result in stuck processes. I moved the parallelisation - and hence timeout modulation - from the channel into the amqqueue module, changing the API in the process - commit, rollback and notify_down now all operate on lists of QPids (and I've renamed the functions to make that clear). The alternative would have been to add Timeout params to these three functions, but I reckon the API is cleaner this way, particularly considering that rollback doesn't actually do a call - it does a cast and hence doesn't require a timeout - so in the alternative API we'd either have to expose that fact indirectly by not having a Timeout param, or have a bogus Timeout param, neither of which is particularly appealing. I considered making the functions take sets instead of lists, since that's what the channel code produces, plus sets have a more efficient length operation. However, API-wise I reckon lists are nicer, plus it means I can give a more precise type to dialyzer - sets would be opaque and non-polymorphic. | ||||
| | * | | merge bug18784 | Matthias Radestock | 2008-10-01 | 2 | -3/+11 |
| | |\ \ | | |/ | |/| | |||||
| | | * | Migrate branch bug18784 | Tony Garnock-Jones | 2008-07-03 | 2 | -3/+11 |
| | | | | |||||
| | * | | Merged 19455 into default | Ben Hood | 2008-09-28 | 2 | -2/+6 |
| | |\ \ | |||||
| | | * | | disable Nagle | Matthias Radestock | 2008-09-28 | 2 | -2/+6 |
| | |/ / | |||||
| * | | | Lock demotion | Ben Hood | 2008-10-06 | 1 | -5/+7 |
| | | | | |||||
| * | | | Further refactorings | Ben Hood | 2008-10-06 | 1 | -17/+10 |
| | | | | |||||
| * | | | Refactored call_with_exchange | Ben Hood | 2008-10-06 | 1 | -15/+9 |
| | | | | |||||
| * | | | Factored out route deletion with reverse lookup | Ben Hood | 2008-10-06 | 1 | -19/+25 |
| | | | | |||||
| * | | | Factored out re-entry condition | Ben Hood | 2008-10-06 | 1 | -8/+7 |
| | | | | |||||
| * | | | Fixed full table scan when deleting forwards routes | Ben Hood | 2008-10-06 | 1 | -11/+12 |
| | | | | |||||
| * | | | Refactored deleting forwards bindings | Ben Hood | 2008-10-05 | 1 | -6/+8 |
| | | | | |||||
| * | | | Makes better use out of the reverse routes when deleting | Ben Hood | 2008-10-05 | 1 | -17/+40 |
| | | | | |||||
| * | | | Minor refactoring of the continuation | Ben Hood | 2008-10-05 | 1 | -12/+6 |
| | | | | |||||
| * | | | Fixes for auto-delete exchanges | Ben Hood | 2008-10-05 | 1 | -27/+67 |
| | | | | |||||
| * | | | Fix for not cleaning up durable auto_delete exchanges properly | Ben Hood | 2008-09-30 | 1 | -1/+5 |
| | | | | |||||
| * | | | Simplications | Ben Hood | 2008-09-30 | 1 | -9/+7 |
| | | | | |||||
| * | | | Made better use of pattern matching in mnesia:delete_object/1 | Ben Hood | 2008-09-30 | 1 | -20/+15 |
| | | | | |||||
| * | | | Fix for auto_delete exchanges | Ben Hood | 2008-09-30 | 1 | -0/+15 |
| | | | | |||||
| * | | | Reverse routes and durable routes now get deleted | Ben Hood | 2008-09-29 | 1 | -2/+12 |
| | | | | |||||
| * | | | cosmetic changes and some minor refactoring | Matthias Radestock | 2008-09-28 | 4 | -111/+87 |
| | | | | |||||
| * | | | Binned resource() type | Ben Hood | 2008-09-27 | 2 | -5/+1 |
| | | | | |||||
| * | | | Removed e_m_t/2 | Ben Hood | 2008-09-27 | 3 | -10/+6 |
| | | | | |||||
| * | | | rabbit_exchange:{add,delete}_binding/1 should not be exported | Ben Hood | 2008-09-27 | 1 | -1/+0 |
| | | | | |||||
| * | | | Truncated lines in this patch to 78 | Ben Hood | 2008-09-27 | 3 | -16/+28 |
| | | | | |||||
| * | | | Swapped position of exchange and queue in binding APIs | Ben Hood | 2008-09-27 | 3 | -6/+6 |
| | | | | |||||
