Skip to content

Commit

Permalink
Fix slowdown in rendering caused by #119
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw authored and iain-buclaw-sociomantic committed Oct 29, 2015
1 parent 59330a8 commit f994908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphite_api/render/datalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def fetchData(requestContext, pathExprs):

# Group nodes that support multiple fetches
for pathExpr in pathExprs:
for node in app.store.find(pathExpr):
for node in app.store.find(pathExpr, startTime, endTime):
if not node.is_leaf:
continue
path_to_exprs[node.path].append(pathExpr)
Expand Down

0 comments on commit f994908

Please sign in to comment.