Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
UnstoppableMango committed Jun 3, 2024
1 parent 17a554c commit 95d7d53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Broker/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

var socket = builder.Environment.IsDevelopment()
? Path.Combine(Directory.CreateTempSubdirectory("tdl-broker").FullName, "broker.sock")
: "/var/run/tdl/broker.sock";

// Would be nice to get rid of the "Overriding address(es) warning"
: "/var/run/tdl/broker.sock";

// Would be nice to get rid of the "Overriding address(es) warning"
builder.WebHost.ConfigureKestrel(kestrel => {
kestrel.ListenUnixSocket(socket, listen => {
listen.Protocols = HttpProtocols.Http2;
Expand Down
2 changes: 1 addition & 1 deletion src/Broker/Services/UmlService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class UmlService(IPluginCache pluginCache) : Tdl.UmlService.UmlServiceBas
public override async Task<FromResponse> From(
IAsyncStreamReader<FromRequest> requestStream,
ServerCallContext context) {
await Task.Delay(1); // Get async warning to go away because I'm lazy
await Task.Delay(1); // Get async warning to go away because I'm lazy
return new FromResponse {
Spec = new Spec {
Name = "Hello World!",
Expand Down

0 comments on commit 95d7d53

Please sign in to comment.