Skip to content

Commit

Permalink
Merge pull request #1763 from tcmitchell/1762-agg-mon
Browse files Browse the repository at this point in the history
Make geni-fetch-aggmon request more data
  • Loading branch information
tcmitchell authored Nov 17, 2016
2 parents 79467e2 + f8d1cda commit 18e2554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
([#1755](https://github.com/GENI-NSF/geni-portal/issues/1755))
* Install Jacks icon file VM-noTxt-centered
([#1756](https://github.com/GENI-NSF/geni-portal/issues/1756))
* Make geni-fetch-aggmon request more data
([#1762](https://github.com/GENI-NSF/geni-portal/issues/1762))

## Installation Notes

Expand Down
2 changes: 1 addition & 1 deletion sbin/geni-fetch-aggmon.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def getIsAvailableEvents(agg_list):
# end = datetime.datetime.utcnow()
now = datetime.datetime.now()
end = now + datetime.timedelta(minutes=0)
start = end - datetime.timedelta(minutes=30)
start = end - datetime.timedelta(minutes=60)
end_ts = int(time.mktime(end.timetuple()) * 1000)
start_ts = int(time.mktime(start.timetuple()) * 1000)
query = buildMonQuery(eventType=['is_available'],
Expand Down

0 comments on commit 18e2554

Please sign in to comment.