Currently online users do not work correct

Bug #1769235 reported by kaputtnik
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Widelands Website
Fix Released
High
Unassigned

Bug Description

On the website the 'Currently Online' box on the right misbehaves. E.g. If you hit F5 more often to reload the page the shown usernames are switching.

My guess is that some sort of cache is involved here: Either nginx or the browsers cache.

The functionality to show online users are all in https://bazaar.launchpad.net/~widelands-dev/widelands-website/trunk/view/head:/online_users_middleware.py

Former the update to Django 1.11 showing online users was implemented by an app called 'tracking'. This app was replaced with the online_users_middleware.

Related settings in settings.py:

# Time in seconds how long a user will be shown online
ONLINE_THRESHOLD = 60 * 30
# Number of stored users
ONLINE_MAX = 25

Related branches

kaputtnik (franku)
Changed in widelands-website:
assignee: nobody → kaputtnik (franku)
kaputtnik (franku)
Changed in widelands-website:
status: Confirmed → Fix Released
assignee: kaputtnik (franku) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.