Skip to content

Commit

Permalink
Update CippEntrypoints.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 9, 2025
1 parent 5dd6334 commit 9aa702b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Modules/CippEntrypoints/CippEntrypoints.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ function Receive-CippHttpTrigger {
$TriggerMetadata
)

if ($Request.Headers.'x-ms-coldstart' -eq 1) {
Write-Information '** Function app cold start detected **'
}

$ConfigTable = Get-CIPPTable -tablename Config
$Config = Get-CIPPAzDataTableEntity @ConfigTable -Filter "PartitionKey eq 'OffloadFunctions' and RowKey eq 'OffloadFunctions'"

Expand Down

0 comments on commit 9aa702b

Please sign in to comment.