Skip to content

Commit

Permalink
Version 0.9.51
Browse files Browse the repository at this point in the history
- Added optional client config properties: `default_job_history_limit` and `default_job_stats_limit`.
- Fixes #756
  • Loading branch information
jhuckaby committed May 13, 2024
1 parent 846f974 commit 0766211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions htdocs/js/pages/History.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Class.subclass( Page.Base, "Page.History", {
get_history: function() {
var args = this.args;
if (!args.offset) args.offset = 0;
if (!args.limit) args.limit = 25;
if (!args.limit) args.limit = config.default_job_history_limit || 25;
app.api.post( 'app/get_history', copy_object(args), this.receive_history.bind(this) );
},

Expand Down Expand Up @@ -147,7 +147,7 @@ Class.subclass( Page.Base, "Page.History", {
gosub_event_stats: function(args) {
// request event stats
if (!args.offset) args.offset = 0;
if (!args.limit) args.limit = 50;
if (!args.limit) args.limit = config.default_job_stats_limit || 50;
app.api.post( 'app/get_event_history', copy_object(args), this.receive_event_stats.bind(this) );
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Cronicle",
"version": "0.9.50",
"version": "0.9.51",
"description": "A simple, distributed task scheduler and runner with a web based UI.",
"author": "Joseph Huckaby <jhuckaby@gmail.com>",
"homepage": "https://github.com/jhuckaby/Cronicle",
Expand Down

0 comments on commit 0766211

Please sign in to comment.