Skip to content

Conversation

@Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Sep 2, 2020

Built on top of #240 , this has to be opt-in for now, as the actix middleware currently has no way to disable the user-mode session which is now the default on the main Hub.

@Swatinem Swatinem force-pushed the feat/actix-sessions branch from 69037c5 to 7439180 Compare September 7, 2020 13:33
@Swatinem Swatinem force-pushed the feat/actix-sessions branch from 7439180 to 5c19d89 Compare September 8, 2020 09:02
@Swatinem Swatinem requested a review from a team September 8, 2020 09:04
@Swatinem Swatinem marked this pull request as ready for review September 8, 2020 09:04
}

/// Reports certain failures to sentry.
//#[derive(Clone)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR really, but we don't make this Debug?

let root_scope = hub.push_scope();
if self.track_session {
hub.start_session();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it stop?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It stops when the scope goes out of scope :-D

@Swatinem Swatinem marked this pull request as draft September 28, 2020 20:23
@Swatinem
Copy link
Contributor Author

old actix is gone

@Swatinem Swatinem closed this Nov 11, 2020
@Swatinem Swatinem deleted the feat/actix-sessions branch November 11, 2020 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants