Closed janboddez closed 2 years ago
since_id
becomes "moot" when moving instances, so saving it and dropping it if the instance URL is ever changed might just work.
Always save the latest toot ID immediately after import (not sure how bad this is for performance, but it is what it is), then reset it when switching instances.
Can we store the
since_id
instead of looking it up each time? Now, if the most recent post is deleted, thesince_id
will be that of the next post, and the more recent toot will be imported again.Alternatively, but this seems overkill, keep a list of previously imported toot IDs. (This is how we would do it for APIs that don't support a
since_id
.)