enable python functions (#1907)

- queue_node_heartbeat
- queue_task_heartbeat

disable dotnet functions
- QueueNodeHeartbeat
- QueueTaskHeartbeat
This commit is contained in:
Cheick Keita
2022-05-06 17:50:33 -07:00
committed by GitHub
parent 119a40bf0c
commit 91922ce01a
4 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ public class QueueNodeHearbeat {
_context = context; _context = context;
} }
[Function("QueueNodeHearbeat")] //[Function("QueueNodeHearbeat")]
public async Async.Task Run([QueueTrigger("node-heartbeat", Connection = "AzureWebJobsStorage")] string msg) { public async Async.Task Run([QueueTrigger("node-heartbeat", Connection = "AzureWebJobsStorage")] string msg) {
_log.Info($"heartbeat: {msg}"); _log.Info($"heartbeat: {msg}");
var nodes = _context.NodeOperations; var nodes = _context.NodeOperations;

View File

@ -18,7 +18,7 @@ public class QueueTaskHearbeat {
_events = events; _events = events;
} }
[Function("QueueTaskHearbeat")] //[Function("QueueTaskHearbeat")]
public async Async.Task Run([QueueTrigger("task-heartbeat", Connection = "AzureWebJobsStorage")] string msg) { public async Async.Task Run([QueueTrigger("task-heartbeat", Connection = "AzureWebJobsStorage")] string msg) {
_logger.LogInformation($"heartbeat: {msg}"); _logger.LogInformation($"heartbeat: {msg}");