Skip to content

Commit

Permalink
Merge pull request #215 from neutrons/last_runs_2hrs
Browse files Browse the repository at this point in the history
Temporary change: list only runs from the last 2 hours
  • Loading branch information
backmari authored Feb 27, 2025
2 parents 90092c8 + 1cd8eb0 commit c511cde
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 c511cde

Please sign in to comment.