Welcome to the EGGhead Forum - a great place to visit and packed with tips and EGGspert advice! You can also join the conversation and get more information and amazing kamado recipes by following Big Green Egg to Experience our World of Flavor™ at:
Facebook  |  Twitter  |  Instagram  |  Pinterest  |  Youtube  |  Vimeo
Share your photos by tagging us and using the hashtag #BigGreenEgg.

Want to see how the EGG is made? Click to Watch

Is the Who\'s Online Broke?

Options
Billy Grill Eggster
Billy Grill Eggster Posts: 404
edited November -1 in Forum Feedback
WMK

The counter sez 48 guest and 23 members but I can only see 8 member names.
Billy
Wilson, NC
Large BGE - WiFi Stoker - Thermapen - 250 Cookbooks

Comments

  • Eggtucky
    Eggtucky Posts: 2,746
    Options
    Same here..now says 60 guests and 41 members but only shows 19 names
  • WMK
    WMK Posts: 1,747
    Options
    Billy Grill Eggster,

    No, it isn't broken, but it does have a small "hole" in it.

    There are two separate database queries run to fetch this information. The first one just counts how many sessions are "live" (less than an hour since they were updated). The second one fetches the list.

    Each time the site accessed, expired sessions are "swept" clean; and, if that occurs between the two queries above, then they could get significantly different results -- especially at a time of day when there are many sessions near their expiration time.

    I'll look into merging these two queries into just one.
  • WMK
    WMK Posts: 1,747
    Options
    Billy Grill Eggster et. al.,

    I've just updated the "Who's online" module to use only one query to fetch the members information (count and list of handles); so, the count will now always agree with the number of names show regardless of whether or not it changes during the time the page is generated.