-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug Report: Expired targets not automatically deleted #8159
Comments
@ayushpathak-48, thanks for raising this issue! 馃檹馃徏 We do mark expired targets as such: appwrite/src/Appwrite/Platform/Workers/Messaging.php Lines 272 to 284 in fd72289
but it seems like the maintenance task that deletes expired targets isn't triggered per project: appwrite/src/Appwrite/Platform/Tasks/Maintenance.php Lines 44 to 64 in 3d8bdef
so the delete worker doesn't delete the expired targets per project: appwrite/src/Appwrite/Platform/Workers/Deletes.php Lines 292 to 304 in fd72289
|
@stnguyen90 is this issue open for assignment? |
@ItzNotABug, sure, ya. Assigned! |
馃憻 Reproduction steps
Go to console
Create FCM provider for push messaging
Create a token of a device and save it into appwrite
Then re create the token and again save it to appwrite
Then send notification to the web target
Then you will get an error for the expired device token
Again after 1 day th same error occurs.
But appwrite says it should be removed after a days if it's expired
馃憤 Expected behavior
It should be removed
馃憥 Actual Behavior
It's giving same errror everyday
馃幉 Appwrite version
Appwrite Cloud
馃捇 Operating system
Windows
馃П Your Environment
I am using node-appwrite to create push target and for creating push notification
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: