Skip to content

Commit

Permalink
Set default timeout to 10 while Exporting settings
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jul 17, 2014
1 parent c6b1d3c commit b1af113
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/clients/report_auto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def main
# return map or list
elsif @func == "Export"
@ret = Report.Export
# Set timeout for autoyast to 10 seconds (bnc#887397)
@ret["messages"]["timeout"] = 10 if @ret["messages"]["timeout"] <= 0
@ret["warnings"]["timeout"] = 10 if @ret["warnings"]["timeout"] <= 0
@ret["yesno_messages"]["timeout"] = 10 if @ret["yesno_messages"]["timeout"] <= 0
elsif @func == "GetModified"
@ret = Report.GetModified
elsif @func == "SetModified"
Expand Down

0 comments on commit b1af113

Please sign in to comment.