-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration Refresher with Timer Trigger #924
Comments
@JFulfordMS, can you provide more info like which of our packages you are using and what the version info is. |
I'm using Azure.Data.AppConfiguration 1.4.1 and AzureAppConfiguration 7.2.0. |
@JFulfordMS please follow the document below for using App Configuration in Azure Functions. |
To help me make sure I understand what you're talking about, can you tell/show me how you get the Function to use a schedule defined in App Configuration? |
Sure, here is a way to test it. I set the parameter of "CdataHelper:Schedule" in an app configuration store to "*/30 * * * * * `
` [2024-06-03T12:10:30.006Z] Executing 'DoUpdate' (Reason='Timer fired at 2024-06-03T08:10:30.0052795-04:00', Id=84a6331c-e7c1-46f0-8ac5-e872ac43b9cc) |
The trigger uses the app setting binding expression of the Azure Functions. While your code can pick up the latest value in App Configuration, I suspect Azure Functions won't pick up the new setting without the function app being restarted (just like how app setting works in Azure Functions). |
Closing. Please reopen it if there are further questions. |
Curious if this is a pending feature or a bug but a Timer Trigger referencing a schedule from an App Configuration store doesn't get refreshed values and continues to run at the initial schedule when the function last started. I've validated that the function itself is successfully refreshing the values.
The text was updated successfully, but these errors were encountered: