Opened 7 years ago

Closed 7 years ago

#12 closed defect (fixed)

bug on counting rates

Reported by: zhangjr Owned by:
Priority: major Milestone: alpha
Version: 0.1 Keywords:
Cc: Blocked By:
Blocking: Parent ID:
Parent Tickets: Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0

Description

if _tmp > self.monitorCountList[1][-1]:

_rates = float(_tmp) / float(_time)
self.redisServer.set('/SANS/drone/monitor_rates',

json.dumps(format(_rates, '.2f')))

self.redisServer.set('/SANS/drone/monitor_counts',

json.dumps(self.monitorCountList))

Subtickets

Change History (1)

comment:1 Changed 7 years ago by zhangjr

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