Skip to content

Commit

Permalink
cost: Do not retry too long call events
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Jan 12, 2024
1 parent 22d9dc1 commit 0211632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ def callback(future: ARMPolling):
event_subscription_info={
"properties": {
"eventDeliverySchema": "EventGridSchema",
"retryPolicy": {
"maxDeliveryAttempts": 8,
"eventTimeToLiveInMinutes": 3, # Call are real time, no need to wait
},
"destination": {
"endpointType": "WebHook",
"properties": {
Expand Down

0 comments on commit 0211632

Please sign in to comment.