Browse Source

Missed one place and better xml docs.

pull/1537/head
Paulo 4 years ago
parent
commit
04a00a7378
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Rest/Net/Queue/RequestQueue.cs
  2. +1
    -0
      src/Discord.Net.WebSocket/DiscordSocketConfig.cs

+ 1
- 1
src/Discord.Net.Rest/Net/Queue/RequestQueue.cs View File

@@ -162,7 +162,7 @@ namespace Discord.Net.Queue
var globalBucketType = GatewayBucket.Get(GatewayBucketType.Unbucketed);
var options = RequestOptions.CreateOrClone(request.Options);
options.BucketId = globalBucketType.Id;
var globalRequest = new WebSocketRequest(null, null, false, options);
var globalRequest = new WebSocketRequest(null, null, false, false, options);
var globalBucket = GetOrCreateBucket(options, globalRequest);
await globalBucket.TriggerAsync(id, globalRequest);
}


+ 1
- 0
src/Discord.Net.WebSocket/DiscordSocketConfig.cs View File

@@ -130,6 +130,7 @@ namespace Discord.WebSocket
/// </summary>
/// <remarks>
/// This information is provided by Discord.
/// It should only be used when auto-sharding is disabled.
/// </remarks>
public int IdentifyMaxConcurrency { get; set; } = 1;



Loading…
Cancel
Save