Skip to content

Don't continue uploading when server is down #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martijnhoekstra
Copy link
Collaborator

change on top of #65 as to split the functional and the formatting diff.

Martijn Hoekstra added 2 commits January 28, 2020 11:42
set all line endings to lf
include .editorconfig to enforce lf endings
.editorconfig also set to OTBS, but files not (yet) updated
as the diff for a cosmetic change would be significant
@martijnhoekstra
Copy link
Collaborator Author

Conflicts and should wait for #56

@martijnhoekstra martijnhoekstra changed the title Serverdown Don't continue uploading when server is down Jan 28, 2020
@martijnhoekstra
Copy link
Collaborator Author

Fixes #8

@@ -11,6 +11,9 @@ private class MockUploader : IUploader
public bool UploadToHotslogs { get; set; }

private Func<ReplayFile, Task> UploadCallback = _ => Task.CompletedTask;

public event Action<DateTime> NotifyServerDownUntil;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not tested yet in unit tests, as conflicts with #56 in test setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant