Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug fix: Evented notification subscribers can handle published events | Carl Lerche | 2013-05-17 | 1 | -0/+22 |
| | |||||
* | Fix Typo existant -> existent [ci skip] | Prathamesh Sonpatki | 2013-05-08 | 1 | -1/+1 |
| | |||||
* | ActiveSupport::Notifications::Instrumenter#instrument should yield | stopdropandrew | 2013-03-02 | 1 | -1/+1 |
| | | | | its payload the same way that ActiveSupport::Notifications does. Fix spelling in test name. | ||||
* | make events not use date and time to determine parent_of. fixes #5932 | タコ焼き仮面 | 2012-06-18 | 1 | -1/+3 |
| | |||||
* | implements AS::Notifications.subscribed, which provides subscriptions to ↵ | Xavier Noria | 2011-11-05 | 1 | -0/+20 |
| | | | | events while a block runs | ||||
* | Requiring delegate. | Arun Agrawal | 2011-08-16 | 1 | -0/+1 |
| | |||||
* | Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵ | Jon Leighton | 2011-05-23 | 1 | -1/+1 |
| | | | | and require 'securerandom' from the stdlib when active support is required. | ||||
* | just use an attr_accessor so we do not pay ||= on every notification call | Aaron Patterson | 2011-02-09 | 1 | -2/+7 |
| | |||||
* | Revert the previous three commits. | José Valim | 2010-07-25 | 1 | -9/+0 |
| | | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed; | ||||
* | use a hash to collect optional statistics about the instrumentation | Aaron Patterson | 2010-07-25 | 1 | -0/+9 |
| | |||||
* | Get rid of instrumenter.elapsed. | José Valim | 2010-07-24 | 1 | -9/+0 |
| | |||||
* | Add a test for elapsed and require missing benchmark file. | José Valim | 2010-07-20 | 1 | -17/+13 |
| | |||||
* | Float comparison adjustment | Santiago Pastorino | 2010-07-18 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | We shouldn't rely on float comparison, delta added just in case float ↵ | Santiago Pastorino | 2010-07-12 | 1 | -3/+3 |
| | | | | representation of this values aren't equal | ||||
* | Event should be aware if yielded block failed or not. | José Valim | 2010-05-02 | 1 | -0/+2 |
| | |||||
* | Make notifications go off even when an error is raised, so that we capture ↵ | Justin George | 2010-05-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | the underlying performance data [#4505 state:resolved] This is important when trying to keep track of many layers of interrelated calls i.e.: ActiveRecord::Base.transaction do MyModel.find(1) #ActiveRecord::NotFound end # should capture the full time until the error propagation Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | allow unsubscribe by name or subscription [#4433 state:resolved] | David Chelimsky | 2010-04-24 | 1 | -0/+22 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Mark bang instrumentations as something that you shuold not be listening to. | José Valim | 2010-03-17 | 1 | -3/+3 |
| | |||||
* | Optimize AS::Notifications to remember which subscribers don't match and not ↵ | Carlhuda | 2010-03-01 | 1 | -2/+29 |
| | | | | run them. This will allow notifications that are only useful in dev or testing to run efficiently in production. | ||||
* | You can unsubscribe a subscriber | Carlhuda | 2010-03-01 | 1 | -1/+13 |
| | |||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -3/+3 |
| | |||||
* | Remove instrument! and require thread from AS::Notifications. | José Valim | 2010-02-04 | 1 | -17/+1 |
| | |||||
* | deOMGifying Railties, Active Support, and Action Pack | Mikel Lindsaar | 2010-01-31 | 1 | -3/+3 |
| | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -17/+1 |
| | |||||
* | Add ActionDispatch::Notifications middleware. | José Valim | 2010-01-17 | 1 | -0/+16 |
| | |||||
* | Yield the payload notifications for further modification (like adding the ↵ | José Valim | 2010-01-15 | 1 | -2/+2 |
| | | | | result). | ||||
* | Add instrument! to notifications which adds the result to the payload. | José Valim | 2010-01-14 | 1 | -1/+11 |
| | |||||
* | Do not send notifications when instrumentation raise an error. | José Valim | 2010-01-13 | 1 | -7/+4 |
| | |||||
* | instrumenter should be accessible from ActiveSupport::Notifications. | José Valim | 2010-01-06 | 1 | -7/+10 |
| | |||||
* | Expose Instrumenter id in Notifications. | José Valim | 2010-01-04 | 1 | -0/+4 |
| | |||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -12/+10 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | Notifications: synchronous fanout queue pushes events to subscribers rather ↵ | Jeremy Kemper | 2009-11-29 | 1 | -0/+10 |
| | | | | than having them concurrently pull | ||||
* | Notifications: extract central Notifier, cordon off the internal Fanout ↵ | Jeremy Kemper | 2009-11-28 | 1 | -158/+112 |
| | | | | implementation, and segregate instrumentation concerns | ||||
* | Expose a simple Queue#wait to block until all notifications are drained | Jeremy Kemper | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Revert "Create SyncListener. Since they do not rely on Thread, they can be ↵ | Jeremy Kemper | 2009-11-28 | 1 | -16/+1 |
| | | | | | | | | used on Google App Engine." Take a step back on this API direction. This reverts commit 8104f65c3225453d13307c3c2733c2a8f99e491a. | ||||
* | Create SyncListener. Since they do not rely on Thread, they can be used on ↵ | José Valim | 2009-11-23 | 1 | -1/+16 |
| | | | | | | Google App Engine. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Notifications: queue.drained? for testability in place of brittle sleeps | Jeremy Kemper | 2009-11-13 | 1 | -10/+14 |
| | |||||
* | Fix duration check for longer sleep | Jeremy Kemper | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | CI: slow down brittle notifications tests | Jeremy Kemper | 2009-11-13 | 1 | -9/+10 |
| | |||||
* | Change Event#thread_id to #transaction_id. Defaults to one "transaction" per ↵ | Yehuda Katz | 2009-10-28 | 1 | -0/+20 |
| | | | | thread but you can explicitly declare the start of a new one. This makes it possible for each request to have it own id. | ||||
* | AS::Notifications.subscribe blocks are now yielded the arguments to pass to ↵ | Yehuda Katz | 2009-10-27 | 1 | -4/+14 |
| | | | | AS::Notifications::Event.new | ||||
* | Some optimizations on AS::Notifications. This does not change the ↵ | Yehuda Katz | 2009-10-27 | 1 | -11/+18 |
| | | | | public-facing API. | ||||
* | Renamed Orchestra to Notifications once again [#3321 state:resolved] | José Valim | 2009-10-15 | 1 | -0/+164 |
| | |||||
* | Revert "Rename Orchestra to Notifications [#3321 state:resolved]" | José Valim | 2009-10-15 | 1 | -161/+0 |
| | | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2. | ||||
* | Rename Orchestra to Notifications [#3321 state:resolved] | Joshua Peek | 2009-10-14 | 1 | -0/+161 |