Skip to content

Commit

Permalink
Reduce activity chart to 24 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobench committed Mar 26, 2024
1 parent 80d2394 commit be8e671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats-backend/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def online_nodes(request):

async def activity_graph_provider(request, yagna_id):
end = round(time.time())
start = end - 604800
start = end - 86400 # 24 hours

query = (
f'activity_provider_created{{hostname=~"{yagna_id}", job=~"community.1"}}'
Expand Down

0 comments on commit be8e671

Please sign in to comment.