Skip to content

Commit

Permalink
Use dotnet 6.0 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
crickman authored Aug 4, 2023
1 parent 86db091 commit 34ac2f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions dotnet/CoreLib/CoreLib.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RollForward>LatestMajor</RollForward>
<AssemblyName>Microsoft.SemanticMemory.Core</AssemblyName>
<RootNamespace>Microsoft.SemanticMemory.Core</RootNamespace>
<NoWarn>CA1711,CA1724,CA1308</NoWarn>
Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Pipeline/Queue/AzureQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public async Task<IQueue> ConnectToQueueAsync(string queueName, QueueOptions opt
if (options.DequeueEnabled)
{
this._log.LogTrace("Enabling dequeue on queue {0}, every {1} msecs", this._queueName, PollDelayMsecs);
this._dispatchTimer = new Timer(TimeSpan.FromMilliseconds(PollDelayMsecs));
this._dispatchTimer = new Timer(PollDelayMsecs); // milliseconds
this._dispatchTimer.Elapsed += this.DispatchMessages;
this._dispatchTimer.Start();
}
Expand Down
4 changes: 2 additions & 2 deletions dotnet/CoreLib/Pipeline/Queue/FileBasedQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ public Task<IQueue> ConnectToQueueAsync(string queueName, QueueOptions options =

if (options.DequeueEnabled)
{
this._populateTimer = new Timer(TimeSpan.FromMilliseconds(250));
this._populateTimer = new Timer(250); // milliseconds
this._populateTimer.Elapsed += this.PopulateQueue;
this._populateTimer.Start();

this._dispatchTimer = new Timer(TimeSpan.FromMilliseconds(100));
this._dispatchTimer = new Timer(100); // milliseconds
this._dispatchTimer.Elapsed += this.DispatchMessages;
this._dispatchTimer.Start();
}
Expand Down

0 comments on commit 34ac2f8

Please sign in to comment.