* 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
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.
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.
 
It's giving me some issues by repeatedly parsing the same notification.
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.
Reviewers