diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2018-12-03 17:55:24 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-12 15:47:15 +0000 |
commit | 031ff485afd888a5ecf9297bde2c2659cf3e1ec5 (patch) | |
tree | 114c62ba9b79d02139c079c20f30cede5033ec01 /example_plugins/example.py | |
parent | dbb76f07de0e4c3c03197a0536ce1cc5a130def7 (diff) | |
download | sos-031ff485afd888a5ecf9297bde2c2659cf3e1ec5.tar.gz |
[sosreport] Allow user-controllable plugin timeouts
Allows users to specify a timeout for each plugin using the '-k
plugin.timeout=value' syntax by adding the 'timeout' option to every
plugin.
Additionally, adds the --plugin-timeout option to set a timeout for
_all_ plugins. If --plugin-timeout and a specific -k timeout option is
provided, the -k timeout option will be applied for those specific
plugins, with --plugin-timeout being applied to all others.
In either case, specifying a timeout of 0 seconds results in no timeout
being applied. In the event that an invalid timeout is set, the timeout
will be set to the default value for the plugin.
Resolves: #1499
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'example_plugins/example.py')
0 files changed, 0 insertions, 0 deletions