Skip to content

Commit

Permalink
代码整理
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Oct 13, 2023
1 parent 9fdbcab commit 4f221ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions NewLife.RocketMQ/Consumer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public class Consumer : MqBase
/// </summary>
public String Subscription { get; set; } = "*";

/// <summary>启动消费者时自动开始调度。默认true</summary>
public Boolean AutoSchedule { get; set; } = true;

/// <summary>消息模型。广播/集群</summary>
public MessageModels MessageModel { get; set; } = MessageModels.Clustering;

Expand Down Expand Up @@ -366,9 +369,6 @@ public ICollection<String> GetConsumers(String group = null)
private volatile Int32 _version;
private CancellationTokenSource _source;

/// <summary>启动消费者时自动开始调度。默认true</summary>
public Boolean AutoSchedule { get; set; } = true;

/// <summary>开始调度</summary>
public void StartSchedule()
{
Expand Down
2 changes: 1 addition & 1 deletion NewLife.RocketMQ/NewLife.RocketMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.Core" Version="10.5.2023.903" />
<PackageReference Include="NewLife.Core" Version="10.6.2023.1001" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions XUnitTestRocketMQ/XUnitTestRocketMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 4f221ac

Please sign in to comment.