Skip to content
Merged
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: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build and Release dotNet

#on: [push]
on:
push:
branches: [ main ]
paths-ignore:
- '*.md'
- '.github/**'
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:


build-project:
#if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true
name: Build dotNet
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Docker Image CI

#on: [ push ]
on:
push:
branches: [ main, dev ]
paths-ignore:
- '*.md'
- '.github/**'
Expand Down
7 changes: 7 additions & 0 deletions Services/WebSockClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ public async void Stop()

private async void ReconnectDelayed(string clientToken)
{
if (ws != null)
{
Console.WriteLine("Stopping WebSocket...");
await ws!.Stop(WebSocketCloseStatus.Empty, "Connection closing.");
}

ws = null;
await Task.Delay(10000);
if (!isStopped)
Start(clientToken, true);
Expand Down
6 changes: 3 additions & 3 deletions iGotify Notification Assist.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<RootNamespace>iGotify_Notification_Assist</RootNamespace>
<AssemblyVersion>1.5.1.1</AssemblyVersion>
<FileVersion>1.5.1.1</FileVersion>
<Version>1.5.1.1</Version>
<AssemblyVersion>1.5.1.2</AssemblyVersion>
<FileVersion>1.5.1.2</FileVersion>
<Version>1.5.1.2</Version>
<LangVersion>default</LangVersion>
</PropertyGroup>

Expand Down
Loading