Skip to content

Question about sessions and events. #15

@theyro

Description

@theyro

Hello, in the code I see this:

Session stats should persist across application restarts to maintain accurate totals.

Normally, between two launches, the session variables should be reset to 0, right?
Otherwise, the total_uploaded is always equal to session_uploaded.
Couldn't the tracker detect that between two announcements there are for example 48 hours (time between two starts of the application) and we return the same value as if we had never stopped?

I have also seen in other projects a management of "started", "completed" and "stopped" events.
What is the situation? not mandatory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions