Skip to content
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

Fix/cron downtime #47

Merged
merged 3 commits into from
Feb 9, 2024
Merged

Fix/cron downtime #47

merged 3 commits into from
Feb 9, 2024

Conversation

0xNilesh
Copy link
Member

@0xNilesh 0xNilesh commented Feb 8, 2024

Mainly accomplishes these:
1> Adds a processedTimestamp in address metadata to process all notifs since the last cron job ran (if browser/pc is closed and cron is not running, once cronJob is up, it'd process all notifs that came in between).
2> Since adding inApp notifs in Metamask has a rate limit of at most 5 per minute, to cater to this, introduced a pendingNotifs concept in state, that'll add more than 5 in next minute

@0xNilesh 0xNilesh merged commit 40f4bbb into pre-release-1.1.13 Feb 9, 2024
@0xNilesh 0xNilesh deleted the fix/cron-downtime branch February 9, 2024 05:05
@0xNilesh 0xNilesh linked an issue Feb 9, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants