From c1355e4581c2f57db2b6eccb113a7ef4445a162a Mon Sep 17 00:00:00 2001 From: make-ing Date: Tue, 15 Sep 2015 15:49:12 +0200 Subject: [PATCH] changed octoprint branch back to stable-1.2.2 and changed cache_ttl to 12 hours (12*60) --- src/octoprint/plugins/softwareupdate/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index ef05d051..3932db8c 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -130,7 +130,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, "type": "github_commit", "repo": "OctoPrint", "user": "mrbeam", - "branch": "grblautoupdate", + "branch": "stable-1.2.2", "update_script": "{{python}} \"{update_script}\" --python=\"{{python}}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "update-octoprint.py")), "restart": "octoprint", "current": "Unknown" @@ -170,7 +170,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, "octoprint_restart_command": "sudo service octoprint restart", "environment_restart_command": "sudo shutdown -r now", "pip_command": None, - "cache_ttl": 60, + "cache_ttl": 12 * 60, } def on_settings_load(self):