Sha256: 6f7a88238c54e59b0940d886926b2a084ae6b0803c7b8ad7fbca6f7b8eb8189e

Contents?: true

Size: 455 Bytes

Versions: 9

Compression:

Stored size: 455 Bytes

Contents

class SessionTrackingController < ActionController::Base
  protect_from_forgery

  def index
    render json: {}
  end

  def initializer
    Bugsnag.session_tracker.send_sessions()
    render json: {}
  end

  def manual
    Bugsnag.start_session
    Bugsnag.session_tracker.send_sessions
    render json: {}
  end

  def multi_sessions
    (0...100).each { Bugsnag.start_session }
    Bugsnag.session_tracker.send_sessions
    render json: {}
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.14.0 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.13.1 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.13.0 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.12.2 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.12.1 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.12.0 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.11.1 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb
bugsnag-6.11.0 features/fixtures/rails4/app/app/controllers/session_tracking_controller.rb