Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tia config ports #156

Open
wants to merge 2 commits into
base: tia
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Commander/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<appSettings>
<add key="publishSocket" value="tcp://0.0.0.0:7145"/>
<add key="requestSocket" value="tcp://0.0.0.0:7146"/>
</appSettings>
</configuration>
5 changes: 4 additions & 1 deletion Commander/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Cqse.Teamscale.Profiler.Commons.Ipc;
using System.Configuration;
using System.Windows;

namespace Cqse.Teamscale.Profiler.Commander
Expand All @@ -12,7 +13,9 @@ public partial class App : Application

protected override void OnStartup(StartupEventArgs e)
{
profilerIpc = new ProfilerIpc(new IpcConfig());
string publishSocket = ConfigurationManager.AppSettings["publishSocket"];
string requestSocket = ConfigurationManager.AppSettings["requestSocket"];
profilerIpc = new ProfilerIpc(new IpcConfig(publishSocket, requestSocket));
}

protected override void OnExit(ExitEventArgs e)
Expand Down