Opened 9 years ago

Closed 9 years ago

#4943 closed Bug (fixed)

stats.json is not created/saved if session count/seconds-active are the only parameters to update.

Reported by: x190 Owned by: jordan
Priority: Low Milestone: 2.60
Component: libtransmission Version: 2.52
Severity: Minor Keywords: stats.json, not updated
Cc:

Description

If no bytes or no files-added, no stats.json, so session count does not get updated.

SL 10.6.8

Change History (7)

comment:1 Changed 9 years ago by x190

  • Keywords stats.json not updated added
  • Summary changed from stats.json is not created/saved if session count is is the only parameter to update. to stats.json is not created/saved if session count/seconds-active are the only parameters to update.

comment:2 Changed 9 years ago by x190

  • Component changed from Transmission to Mac Client
  • Owner set to livings124

comment:3 Changed 9 years ago by livings124

  • Component changed from Mac Client to libtransmission
  • Owner changed from livings124 to jordan

comment:4 Changed 9 years ago by livings124

  • Priority changed from Normal to Low
  • Severity changed from Normal to Minor

comment:5 Changed 9 years ago by x190

The Mac Client allows stats to be reset to 0 via a gui window. However, this reset will not be preserved across a restart due to this bug.

comment:6 Changed 9 years ago by jordan

  • Milestone changed from None Set to 2.60
  • Status changed from new to assigned

r13363 fixes the rest-not-preserved bug.

I'm not sure we really want to save stats.json only based on seconds-active... we'd constantly be writing it out every N seconds.

comment:7 Changed 9 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.