mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 04:18:07 +00:00
enable python functions (#1907)
- queue_node_heartbeat - queue_task_heartbeat disable dotnet functions - QueueNodeHeartbeat - QueueTaskHeartbeat
This commit is contained in:
@ -15,7 +15,7 @@ public class QueueNodeHearbeat {
|
||||
_context = context;
|
||||
}
|
||||
|
||||
[Function("QueueNodeHearbeat")]
|
||||
//[Function("QueueNodeHearbeat")]
|
||||
public async Async.Task Run([QueueTrigger("node-heartbeat", Connection = "AzureWebJobsStorage")] string msg) {
|
||||
_log.Info($"heartbeat: {msg}");
|
||||
var nodes = _context.NodeOperations;
|
||||
|
@ -18,7 +18,7 @@ public class QueueTaskHearbeat {
|
||||
_events = events;
|
||||
}
|
||||
|
||||
[Function("QueueTaskHearbeat")]
|
||||
//[Function("QueueTaskHearbeat")]
|
||||
public async Async.Task Run([QueueTrigger("task-heartbeat", Connection = "AzureWebJobsStorage")] string msg) {
|
||||
_logger.LogInformation($"heartbeat: {msg}");
|
||||
|
||||
|
Reference in New Issue
Block a user