save last_id more often

This commit is contained in:
2019-02-04 12:15:53 +03:00
parent 0c0e63f545
commit c1679c52a9
8 changed files with 15 additions and 12 deletions

View File

@@ -76,5 +76,4 @@ class VKFeedModuleConfig(FeedModuleConfig):
disable_web_page_preview=True)
except Exception as e:
sentry_sdk.capture_exception(e)
last_id = post['id']
return last_id
yield post['id']