Closed (won't fix)
Project:
BitTorrent
Version:
5.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 May 2008 at 22:52 UTC
Updated:
8 Jul 2009 at 03:02 UTC
My site is now been up for about 3 weeks, people been downloading and seeding since. But not on any one occasion have I seen the Seeders & Leechers stats change from the default zero.
I have run cron on various occasions but still these don't update, what could be the course?
Comments
Comment #1
bradfordcp commentedI am not sure, I will look into the queries tonight or tomorrow, be sure to check your interval values. It doesn't matter how many times you run cron, if the interval hasn't passed it will not update. Also try deleting the variable "bt_tracker_last_regen" or look more closely at your pruning interval.
If you are interested, all of the stats update logic is in the last function at http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/bittorrent/...
or
On a side note I was looking at scraping that part of the system in favor of live stats, what are your thoughts? They would be a bit more DB intensive, but you would be assured that all of the data is completely up to date.
Comment #2
droople commentedUp to date data is more preferable. because, I have been having some of my users saying, "I didn't download the torrent file due to no seeders or leechers", yet I have 2 PCs, one seeding and one leeching.
You said stats are not based on cron runs, this contradicts with this
What do you think is a suitable interval?
Comment #3
bradfordcp commentedThe contradiction is due to bad wording on my part. I am trying to convey that the stats are not updated every cron run, instead they are updated during cron after a set interval has passed. I think to get the most up to date stats you should set the interval to be the same as your cron interval.
Comment #4
liquixis commented5.x version is longer not supported.