You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
After the first lambda execution, if the publish and received worked, then changing the iot policy will have no effect on the code. RECEIVED_COUNT and RECEIVED_ALL_EVENT are never reset, so on the next execution, their value are the same.
You have to wait the next lambda execution environment to have those value reset.
Expected behaviour: Changing iot policy should impact current lambda execution environment.
How to fix: Reset those 2 variables before exiting lambda.
The text was updated successfully, but these errors were encountered:
After the first lambda execution, if the publish and received worked, then changing the iot policy will have no effect on the code.
RECEIVED_COUNT
andRECEIVED_ALL_EVENT
are never reset, so on the next execution, their value are the same.You have to wait the next lambda execution environment to have those value reset.
Expected behaviour: Changing iot policy should impact current lambda execution environment.
How to fix: Reset those 2 variables before exiting lambda.
The text was updated successfully, but these errors were encountered: