Skip to content

Commit

Permalink
Support for keepalives (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeczek committed Jul 30, 2018
1 parent a339da2 commit 69716ff
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -76,9 +76,9 @@ private async Task ExecuteAsync(CancellationToken stoppingToken)

private static bool IsBehindAncm()
{
return !String.IsNullOrEmpty(Environment.GetEnvironmentVariable($"ASPNETCORE_PORT"))
&& !String.IsNullOrEmpty(Environment.GetEnvironmentVariable($"ASPNETCORE_APPL_PATH"))
&& !String.IsNullOrEmpty(Environment.GetEnvironmentVariable($"ASPNETCORE_TOKEN"));
return !String.IsNullOrEmpty(Environment.GetEnvironmentVariable("ASPNETCORE_PORT"))
&& !String.IsNullOrEmpty(Environment.GetEnvironmentVariable("ASPNETCORE_APPL_PATH"))
&& !String.IsNullOrEmpty(Environment.GetEnvironmentVariable("ASPNETCORE_TOKEN"));
}

public virtual void Dispose()
Expand Down

0 comments on commit 69716ff

Please sign in to comment.