Deleting a Periodic Message #137
Replies: 2 comments 1 reply
-
Are you sure, you're using the correct job id when you're trying to cancel the future run(s)? |
Beta Was this translation helpful? Give feedback.
1 reply
-
You're likely right, i was checking this last night, metadata needs to be
updated in local copy as well.
…On Tue, Nov 30, 2021, 1:33 PM qwertyuiop-ops ***@***.***> wrote:
@sonus21 <https://github.com/sonus21> Yeah, I believe the MessageMetadata
is getting overwritten when handleSuccessFullExecution is called after
the Listener call.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC2FCPSYYPUPJ32B6INMABDUOSALLANCNFSM5I2S3Y6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Sonu,
On deleting a periodic message from the same Listener that is invoked on current run doesn't cancel future runs. Cancelling periodic task works fine if done from some other flow and not within the same listener.
So, basically when a listener is invoked for a periodic task and we don't want that task to be executed in future. We need to delete that task. But deleting the task through code is not deleting it. Please help around this.
Regards,
Utkarsh Shukla
Beta Was this translation helpful? Give feedback.
All reactions