added transfer ownership, limit buffered events

This commit is contained in:
2023-07-01 07:47:57 +03:00
parent 20662ae24d
commit 105457ffa0
24 changed files with 134 additions and 108 deletions
@@ -31,7 +31,7 @@ public class RagonWebHookPlugin
private RagonServer _server;
private HttpClient _httpClient;
public RagonWebHookPlugin(RagonServer server, Configuration configuration)
public RagonWebHookPlugin(RagonServer server, RagonServerConfiguration configuration)
{
_webHooks = new Dictionary<string, string>(configuration.WebHooks);
_httpClient = new HttpClient();