Overhaul notification parsing #12

Merged
waifu merged 4 commits from 9_fix_bot_app_py into dev 2025-05-20 20:28:51 -07:00
Collaborator
  • Move notification parsing to its own file
  • Add config options for NOTIFICATION_POLL_INTERVAL and NOTIFICATION_BATCH_SIZE
  • Removed instances of global variables
  • Fix the exception loop hypothesized in #9
* Move notification parsing to its own file * Add config options for NOTIFICATION_POLL_INTERVAL and NOTIFICATION_BATCH_SIZE * Removed instances of global variables * Fix the exception loop hypothesized in #9
VD15 added 3 commits 2025-05-19 11:38:53 -07:00
VD15 added the
Refactoring
label 2025-05-19 11:38:58 -07:00
VD15 changed target branch from dev to master 2025-05-19 11:40:15 -07:00
VD15 changed target branch from master to dev 2025-05-19 11:41:28 -07:00
requested review from waifu 2025-05-19 13:13:59 -07:00
Owner

It's giving me some issues by repeatedly parsing the same notification.

It's giving me some issues by repeatedly parsing the same notification.
Author
Collaborator

Interestingly, I can only recreate intermittently. Seems I made an incorrect assumption about misskey's API: sometimes it'll just include the notification you specify as since_id and sometimes it won't. I'll add another check for notification id as we can't rely on the API to filter it, it seems.

image image

Interestingly, I can only recreate intermittently. Seems I made an incorrect assumption about misskey's API: sometimes it'll just include the notification you specify as since_id and sometimes it won't. I'll add another check for notification id as we can't rely on the API to filter it, it seems. ![image](/attachments/e17cfed7-8bd2-4eb2-9b15-d0b593d0a4c6) ![image](/attachments/84445b6d-d60b-40c5-8292-6aaf48a0af4f)
VD15 added 1 commit 2025-05-20 01:00:42 -07:00
waifu approved these changes 2025-05-20 20:28:44 -07:00
waifu left a comment
Owner

working in production as intended

working in production as intended
waifu merged commit e53bd87d81 into dev 2025-05-20 20:28:51 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: waifu/kemoverse#12
No description provided.