Log heartbeat pulse generation in debug level

Add a debug-level log message to indicate when the heartbeat pulse is generated. This improves traceability and helps in diagnosing runtime behavior during development and debugging.
This commit is contained in:
Sipke Schoorstra 2025-02-22 16:08:54 +01:00
parent 5ae23ce7e5
commit a3a82916af
No known key found for this signature in database
GPG key ID: 5C10502B28A4268F

View file

@ -45,6 +45,7 @@ public class WorkflowHeartbeatMiddleware(WorkflowMiddlewareDelegate next, IOptio
{
try
{
_logger.LogDebug("Generating pulse");
await _pulseAction();
_timer.Change(_interval, Timeout.InfiniteTimeSpan);
}