Skip to content

Commit

Permalink
temporary change: look only at runs from the last 2 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
backmari committed Feb 27, 2025
1 parent 90092c8 commit 1cd8eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webmon_app/reporting/dasmon/view_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ def get_live_runs_update(request, instrument_id, ipts_id, **data_dict):
return data_dict


def get_live_runs(timeframe=12, number_of_entries=25, instrument_id=None, as_html=True):
def get_live_runs(timeframe=2, number_of_entries=10, instrument_id=None, as_html=True):
"""
Get recent runs for all instruments.
If no run is found in the last few hours (defined by the timeframe parameter),
Expand Down

0 comments on commit 1cd8eb0

Please sign in to comment.