Skip to content

Commit

Permalink
Update low CPU activity error message (fixes #1566)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebbo committed Jul 30, 2015
1 parent 0de53f3 commit 6378074
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Kudu.Core/Infrastructure/IdleManager.cs
Expand Up @@ -135,7 +135,8 @@ private static Exception CreateIdleTimeoutException(IProcess process, TimeSpan t
string message = String.Format(Resources.Error_ProcessAborted,
process.Name + " " + arguments,
totalWaitDuration.TotalSeconds,
SettingsKeys.CommandIdleTimeout);
SettingsKeys.CommandIdleTimeout,
SettingsKeys.WebJobsIdleTimeoutInSeconds);
return new CommandLineException(process.Name, process.Arguments, message)
{
ExitCode = -1,
Expand Down
4 changes: 2 additions & 2 deletions Kudu.Core/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Kudu.Core/Resources.resx
Expand Up @@ -145,7 +145,7 @@
<value>No log found for '{0}'.</value>
</data>
<data name="Error_ProcessAborted" xml:space="preserve">
<value>Command '{0}' aborted due to no output and CPU activity for {1:0} seconds. You may increase {2} setting to solve the issue.</value>
<value>Command '{0}' was aborted due to no output nor CPU activity for {1:0} seconds. You can increase the {2} app setting (or {3} if this is a WebJob) if needed.</value>
</data>
<data name="Error_ProjectDoesNotExist" xml:space="preserve">
<value>The specified project '{0}' is not valid. It needs to point to either a csproj/vbproj file or to a directory.</value>
Expand Down

0 comments on commit 6378074

Please sign in to comment.