userJakbcancel
repoRust.ServerManagercancel

28 Commits over 92 Days - 0.01cph!

17 Days Ago
rogue newline
17 Days Ago
Simplify file uploading to not use MultipartFormDataContent
17 Days Ago
Attempt to delete the map png file if loading failed - edge case
17 Days Ago
rogue newline
17 Days Ago
Use Timeout.InfiniteTimeSpan instead for clarity
17 Days Ago
Maker timer run at TimeSpan.MaxValue interval
18 Days Ago
Fix endpoint naming. Run 5 mins after server start (from 10). Fix MemoryStream getting disposed. Change scope of filestream so we can delete the file when we're done. Read responses as string, not json.
19 Days Ago
Change to use new renamed mapImageExists endpoint and log the url if it does already exist
19 Days Ago
Upload map image to files.facepunch.com via the publicapi and retrieve the url
19 Days Ago
Use cancellation token in HttpResponseMessage.EnsureSucessful
20 Days Ago
new todo
20 Days Ago
ask the backend if this server key/wipeid already has a map uploaded, if so, early exit
20 Days Ago
minor changes and comments
2 Months Ago
▅▅▍▉█ ▌▌▆█▉█▊▌▉▌▉▆▅█▅▇▋▉▊▉▌▊▇▊█▍▇ ▉▅▍█▊▌█▄▆▄ ▌█▄ ▉▌▊ ▌▆
2 Months Ago
▊▆▍▍▄▆█▋▄.█▅▆▋▍▋ -> ▊▍▇▇.▄▍▄▄▉▆
2 Months Ago
▍▄▇ ▍█▋▍ ▊▊ ▅▉███ ▅▅▆▍▉▅.▆▅▆▌█▌▄▅▄█▉ ▆▅▇ ▅▅▍ ▋▅███ ▄▍▋▆ ▆▅▌▅▇▉▉▉▆▌▋▉ █▉▋▌▊ ▅▉▇▆▅.▆▄▆▉▌▄▋▋▄
3 Months Ago
WIP restart server at 4am local machine time, check for >=22 hour server uptime and do not restart Staging servers (env || hostname) start the timer 10 minutes after the server is up and repeat every 5 minutes Separate rcon logic and serverinfo loop out of ConsoleInputBar and into separate class CommandManager. Swapped out usages in RunServer.cs. Finished up the CheckForServerRestart functionality. Confirmed the project still builds Was accidentally using DateTime.UtcNow instead of DateTime.Now Change the time check to prevent the extremely rare edgecase of the server attempting to restart twice Use the global cancellation token in the CommandManager, don't make a new one CommandManager takes CancellationToken, not source Rename CommandManager to more suitable ServerRcon rename vars, too Double time window to ensure we restart and store DateTimeOffset of when restart was last requested Attempt to restart multiple times if we failed due to an exception Log any errors Minor changes Merge pull request #6 from Facepunch/server_restarts Server restarts
3 Months Ago
Minor changes
3 Months Ago
Log any errors
3 Months Ago
Attempt to restart multiple times if we failed due to an exception
3 Months Ago
Double time window to ensure we restart and store DateTimeOffset of when restart was last requested
3 Months Ago
rename vars, too
3 Months Ago
Rename CommandManager to more suitable ServerRcon
3 Months Ago
CommandManager takes CancellationToken, not source
3 Months Ago
Was accidentally using DateTime.UtcNow instead of DateTime.Now Change the time check to prevent the extremely rare edgecase of the server attempting to restart twice Use the global cancellation token in the CommandManager, don't make a new one
3 Months Ago
Separate rcon logic and serverinfo loop out of ConsoleInputBar and into separate class CommandManager. Swapped out usages in RunServer.cs. Finished up the CheckForServerRestart functionality. Confirmed the project still builds
3 Months Ago
start the timer 10 minutes after the server is up and repeat every 5 minutes
3 Months Ago
WIP restart server at 4am local machine time, check for >=22 hour server uptime and do not restart Staging servers (env || hostname)