Fix agent count
This commit is contained in:
@@ -92,7 +92,7 @@ public class AgentGrain : Grain, IAgentGrain
|
||||
await ServiceScopeHelpers.WithScopedService<IGrainFactory>(_scopeFactory, async grainFactory =>
|
||||
{
|
||||
var platformGrain = grainFactory.GetGrain<IPlatformSummaryGrain>("platform-summary");
|
||||
await platformGrain.IncrementAgentCountAsync();
|
||||
await platformGrain.RefreshAgentCountAsync();
|
||||
_logger.LogDebug("Notified platform summary about new agent activation for user {UserId}", userId);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user